From: David Lamparter Date: Tue, 29 Nov 2016 13:45:49 +0000 (+0100) Subject: lib: use traditional yacc empty statement X-Git-Tag: frr-3.0-branchpoint~136 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=0d4aa1b1864dc8f7cc8a210c15b0302f14f0dcb9;p=mirror%2Ffrr.git 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 --- diff --git a/lib/command_parse.y b/lib/command_parse.y index 6348643b8b..e381507cc3 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 ;