summaryrefslogtreecommitdiffstats
path: root/lib/command_parse.y
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-29 14:45:49 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-11-29 14:46:54 +0100
commit0d4aa1b1864dc8f7cc8a210c15b0302f14f0dcb9 (patch)
tree2070f9a055ec949c9d2549bddf61da49bdc28e62 /lib/command_parse.y
parent*: fix CLI copypasta mixups (diff)
downloadfrr-0d4aa1b1864dc8f7cc8a210c15b0302f14f0dcb9.tar.xz
frr-0d4aa1b1864dc8f7cc8a210c15b0302f14f0dcb9.zip
lib: use traditional yacc empty statement
%empty was added in bison 2.7.1, which seems to not be available on some of the BSDs by default. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command_parse.y')
-rw-r--r--lib/command_parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y
index 6348643b8..e381507cc 100644
--- a/lib/command_parse.y
+++ b/lib/command_parse.y
@@ -198,7 +198,7 @@ sentence_root: WORD
;
cmd_token_seq:
- %empty
+ /* empty */
| cmd_token_seq cmd_token
;