From 61617d382e018adf7b148bf4d18d6a0fb1fb8645 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Mon, 23 Jan 2017 21:49:21 +0100 Subject: [PATCH] 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 --- lib/command_lex.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;} -- 2.39.5