summaryrefslogtreecommitdiffstats
path: root/lib/command_lex.l
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-10-20 21:21:37 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-10-20 21:21:37 +0200
commit8c9474817e73383bcf88ea700c9d83819660623d (patch)
treef6dbe2af92d44f9a77e4802cefb440811dd69584 /lib/command_lex.l
parentlib: Allow '_' in arguments to VARIABLE_TKN (diff)
downloadfrr-8c9474817e73383bcf88ea700c9d83819660623d.tar.xz
frr-8c9474817e73383bcf88ea700c9d83819660623d.zip
Revert "lib: Allow '_' in arguments to VARIABLE_TKN"
This reverts commit e0a467872b307021477ea7b4ba27ffc5d20aedd0.
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 b9b658278..5c709dce2 100644
--- a/lib/command_lex.l
+++ b/lib/command_lex.l
@@ -30,7 +30,7 @@ extern void cleanup_lexer (void);
YY_BUFFER_STATE buffer;
%}
-WORD (\-|\+)?[a-z\*][-+a-zA-Z0-9\*_]*
+WORD (\-|\+)?[a-z\*][-+_a-zA-Z0-9\*]*
IPV4 A\.B\.C\.D
IPV4_PREFIX A\.B\.C\.D\/M
IPV6 X:X::X:X