diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-12-16 02:10:48 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2016-12-16 20:42:01 +0100 |
commit | afc3a6ceb640abda6a549fa3e789252ae78e930c (patch) | |
tree | 364d10ccf2e72254f7c3a8ff03d568010c6e7f91 /lib/command_lex.l | |
parent | build: check flex >= 2.5.20 is available (diff) | |
download | frr-afc3a6ceb640abda6a549fa3e789252ae78e930c.tar.xz frr-afc3a6ceb640abda6a549fa3e789252ae78e930c.zip |
lib: parser: reorder bison incarnations
This shuffles the code blocks in command_parser.y to match file output
order, then adjusts things to make the include handling less messy.
(also dropped unused DECIMAL_STRLEN_MAX define.)
This should hopefully fix the build on NetBSD 6.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command_lex.l')
-rw-r--r-- | lib/command_lex.l | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/command_lex.l b/lib/command_lex.l index e978803b2..0cb306b68 100644 --- a/lib/command_lex.l +++ b/lib/command_lex.l @@ -24,7 +24,6 @@ %{ #include "command_parse.h" -#define YYSTYPE CMD_YYSTYPE %} WORD (\-|\+)?[a-z\*][-+_a-zA-Z0-9\*]* |