Merge branch 'vendor/OPENSSL'
[dragonfly.git] / libexec / dma / aliases_scan.l
CommitLineData
f67beddd 1%{
f67beddd
MS
2
3#include <string.h>
4#include "aliases_parse.h"
dba19026 5
f67beddd
MS
6%}
7
8%option yylineno
eb74dec6 9%option noinput
dba19026 10%option nounput
f67beddd
MS
11
12%%
13
14[^:,#[:space:][:cntrl:]]+ {yylval.ident = strdup(yytext); return T_IDENT;}
f67beddd 15^([[:blank:]]*(#.*)?\n)+ ;/* ignore empty lines */
c8b07ee5 16[:,\n] return yytext[0];
f67beddd
MS
17(\n?[[:blank:]]+|#.*)+ ;/* ignore whitespace and continuation */
18\\\n ;/* ignore continuation. not allowed in comments */
19. return T_ERROR;
20<<EOF>> return T_EOF;
21
22%%