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>
This commit is contained in:
David Lamparter 2016-11-29 14:45:49 +01:00
parent 030204c7b0
commit 0d4aa1b186

View File

@ -198,7 +198,7 @@ sentence_root: WORD
;
cmd_token_seq:
%empty
/* empty */
| cmd_token_seq cmd_token
;