From: David Lamparter Date: Mon, 23 Jan 2017 20:49:21 +0000 (+0100) Subject: lib: parser: free Mr. T X-Git-Tag: frr-3.0-branchpoint~64^2~7^2~11 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=61617d382e018adf7b148bf4d18d6a0fb1fb8645;p=matthieu%2Ffrr.git lib: parser: free Mr. T Mr. T was abducted by the parser and held hostage for ransom. Murdock was called, flew in and replaced him with a Tab character. Signed-off-by: David Lamparter --- diff --git a/lib/command_lex.l b/lib/command_lex.l index d767926263..e245fc4976 100644 --- a/lib/command_lex.l +++ b/lib/command_lex.l @@ -47,7 +47,7 @@ RANGE \({NUMBER}[ ]?\-[ ]?{NUMBER}\) %option bison-bridge %% -[ /t] /* ignore whitespace */; +[ \t] /* ignore whitespace */; {WORD} {yylval->string = XSTRDUP(MTYPE_TMP, yytext); return WORD;} {IPV4} {yylval->string = XSTRDUP(MTYPE_TMP, yytext); return IPV4;} {IPV4_PREFIX} {yylval->string = XSTRDUP(MTYPE_TMP, yytext); return IPV4_PREFIX;}