mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: highlight empty right-hand sides
* tests/actions.at, tests/c++.at, tests/headers.at, * tests/input.at: here.
This commit is contained in:
@@ -41,7 +41,7 @@ AT_DATA_GRAMMAR([$1.y],
|
||||
]AT_YYLEX_DECLARE_EXTERN[
|
||||
%}
|
||||
%%
|
||||
dummy:;
|
||||
dummy: /* empty */;
|
||||
%%
|
||||
#include <$1.h>
|
||||
])
|
||||
@@ -81,7 +81,7 @@ AT_DATA_GRAMMAR([input.y],
|
||||
]AT_YYLEX_DEFINE[
|
||||
%}
|
||||
%%
|
||||
exp:;
|
||||
exp: /* empty */;
|
||||
]])
|
||||
|
||||
AT_BISON_CHECK([--defines -o input.c input.y])
|
||||
|
||||
Reference in New Issue
Block a user