]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: use traditional yacc empty statement
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 29 Nov 2016 13:45:49 +0000 (14:45 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 29 Nov 2016 13:46:54 +0000 (14:46 +0100)
%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>
lib/command_parse.y

index 6348643b8b2398f3cb44cf2cae0db3c89ced3fea..e381507cc316ceeae3a0c5ef6a6804b8873e0f33 100644 (file)
@@ -198,7 +198,7 @@ sentence_root: WORD
 ;
 
 cmd_token_seq:
-  %empty
+  /* empty */
 | cmd_token_seq cmd_token
 ;