]> git.ipfire.org Git - people/ms/dma.git/blobdiff - aliases_scan.l
Merge pull request #12 from emaste/master
[people/ms/dma.git] / aliases_scan.l
index 5e6bdd5d9eeddc7b26b9eb5ace1530796981462a..809d1e1687310515b4f91cbb06b8a2dbe9017eb7 100644 (file)
@@ -14,8 +14,8 @@ int yylex(void);
 %%
 
 [^:,#[:space:][:cntrl:]]+      {yylval.ident = strdup(yytext); return T_IDENT;}
-[:,\n]                         return yytext[0];
 ^([[:blank:]]*(#.*)?\n)+       ;/* ignore empty lines */
+[:,\n]                         return yytext[0];
 (\n?[[:blank:]]+|#.*)+         ;/* ignore whitespace and continuation */
 \\\n                           ;/* ignore continuation.  not allowed in comments */
 .                              return T_ERROR;