diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-04 20:16:26 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-04 20:16:26 +0200 |
commit | b3899769660fe891d5ea845e8ea64988743c1ccd (patch) | |
tree | 90ab48a130e27273fe4bb04cc93379cddbf6e455 /lib/command_lex.l | |
parent | lib: Allow optional whitespace in ranges (diff) | |
download | frr-b3899769660fe891d5ea845e8ea64988743c1ccd.tar.xz frr-b3899769660fe891d5ea845e8ea64988743c1ccd.zip |
lib: Unrefactor to signed long long for ranges
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_lex.l')
-rw-r--r-- | lib/command_lex.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command_lex.l b/lib/command_lex.l index 47723cbf9..855cf9a06 100644 --- a/lib/command_lex.l +++ b/lib/command_lex.l @@ -4,13 +4,13 @@ extern void set_buffer_string(const char *); %} -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 IPV6_PREFIX X:X::X:X\/M VARIABLE [A-Z][-_a-zA-Z:0-9]+ -NUMBER [-|+]?[0-9]{1,20} +NUMBER (\-|\+)?[0-9]{1,20} RANGE \({NUMBER}[ ]?\-[ ]?{NUMBER}\) /* yytext shall be a pointer */ |