diff options
Diffstat (limited to 'bpf_lexer.l')
-rw-r--r-- | bpf_lexer.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bpf_lexer.l b/bpf_lexer.l index a2ff90a..185faae 100644 --- a/bpf_lexer.l +++ b/bpf_lexer.l @@ -119,6 +119,7 @@ label [a-zA-Z_][a-zA-Z0-9_]+ "/*"([^\*]|\*[^/])*"*/" { /* NOP */ } ";"[^\n]* {/* NOP */} +^#.* {/* NOP */} "\n" { yylineno++; } [ \t]+ {/* NOP */ } . { printf("Unknown character '%s'", yytext); |