kernel: Add some missing headers to the Makefiles of cryptodev and tun.
[dragonfly.git] / libexec / dma / aliases_scan.l
blob809d1e1687310515b4f91cbb06b8a2dbe9017eb7
1 %{
3 #include <string.h>
4 #include "aliases_parse.h"
6 #define YY_NO_INPUT
8 int yylex(void);
9 %}
11 %option yylineno
12 %option nounput
16 [^:,#[:space:][:cntrl:]]+       {yylval.ident = strdup(yytext); return T_IDENT;}
17 ^([[:blank:]]*(#.*)?\n)+        ;/* ignore empty lines */
18 [:,\n]                          return yytext[0];
19 (\n?[[:blank:]]+|#.*)+          ;/* ignore whitespace and continuation */
20 \\\n                            ;/* ignore continuation.  not allowed in comments */
21 .                               return T_ERROR;
22 <<EOF>>                         return T_EOF;