diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-22 11:58:39 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-22 11:58:39 +0200 |
commit | 6b8b7ba0091a4e59b9a45057756fc7f754576242 (patch) | |
tree | 77d015a2bd91ed7bc9d14e0c2011d450742e7b92 /grammar | |
parent | ca377701e0200a0766abe3bb33f4cab3ccaad451 (diff) | |
download | rsyslog-6b8b7ba0091a4e59b9a45057756fc7f754576242.tar.gz rsyslog-6b8b7ba0091a4e59b9a45057756fc7f754576242.tar.xz rsyslog-6b8b7ba0091a4e59b9a45057756fc7f754576242.zip |
need to handle legacy-legacy omusrmsg format stricter
otherwise, the grammar for if-constructs was broken
Diffstat (limited to 'grammar')
-rw-r--r-- | grammar/lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar/lexer.l b/grammar/lexer.l index a89cf180..cf912db3 100644 --- a/grammar/lexer.l +++ b/grammar/lexer.l @@ -165,7 +165,7 @@ int fileno(FILE *stream); \/[^*][^\n]* | :[a-z0-9]+:[^\n]* | [\|\.\-\@\^?~>][^\n]+ | -[a-z0-9_][a-z0-9_\-\+,; ]* { yylval.s = strdup(yytext); +[a-z0-9_][a-z0-9_\-\+,;]* { yylval.s = strdup(yytext); // printf("lex: LEGA ACT: '%s'\n", yytext); return LEGACY_ACTION; } <INOBJ>")" { BEGIN INITIAL; return ENDOBJ; } |