]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: parser: free Mr. T
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 23 Jan 2017 20:49:21 +0000 (21:49 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 23 Jan 2017 20:49:57 +0000 (21:49 +0100)
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 <equinox@opensourcerouting.org>
lib/command_lex.l

index d76792626313f655de3e3ce82829534781ddd827..e245fc49766854ca3fe43358870cac9bb6423d34 100644 (file)
@@ -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;}