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 <equinox@opensourcerouting.org>
This commit is contained in:
David Lamparter 2017-01-23 21:49:21 +01:00
parent e5fe6d5931
commit 61617d382e

View 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;}