summaryrefslogtreecommitdiffstats
path: root/lib/command_lex.l
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-01-23 21:49:21 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-01-23 21:49:57 +0100
commit61617d382e018adf7b148bf4d18d6a0fb1fb8645 (patch)
tree626eca6f1fce4a70d186f095ff738fada710b19d /lib/command_lex.l
parentMerge pull request #90 from LabNConsulting/remotes/origin/working/master/patc... (diff)
downloadfrr-61617d382e018adf7b148bf4d18d6a0fb1fb8645.tar.xz
frr-61617d382e018adf7b148bf4d18d6a0fb1fb8645.zip
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>
Diffstat (limited to 'lib/command_lex.l')
-rw-r--r--lib/command_lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_lex.l b/lib/command_lex.l
index d76792626..e245fc497 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;}