diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-04 18:16:26 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-04 18:16:26 +0000 | 
| commit | b3899769660fe891d5ea845e8ea64988743c1ccd (patch) | |
| tree | 90ab48a130e27273fe4bb04cc93379cddbf6e455 /lib/command_lex.l | |
| parent | ef955a80a635f5fb821a640f7e1d7aaac8ec5e5e (diff) | |
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 47723cbf91..855cf9a065 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 */  | 
