From 0d4aa1b1864dc8f7cc8a210c15b0302f14f0dcb9 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 29 Nov 2016 14:45:49 +0100 Subject: [PATCH] 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 --- lib/command_parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ; -- 2.39.5