Depend on the nbd module being loaded
[nbd.git] / nbdtab_lexer.l
blob0eef3a043a25ecd4e5a21af956b64ad6d6dbe1e4
1 %{
2 #include "nbdtab_parser.tab.h"
3 %}
5 %option noyywrap
7 %%
9 #[^\n]*\n       { /* ignoring comments */ }
10 [ \t]+          { yylval = strdup(yytext); return SPACE; }
11 [^ \t\n,=]+     { yylval = strdup(yytext); return STRING; }
12 .               { yylval = strdup(yytext); return *yytext; }
13 \n              { yylval = strdup(yytext); return *yytext; }