tests: use %empty

* tests/actions.at, tests/input.at, tests/reduce.at,
* tests/regression.at:
here.
This commit is contained in:
Akim Demaille
2013-02-16 12:57:31 +01:00
parent 8ecac08f2d
commit 684083f065
4 changed files with 53 additions and 53 deletions

View File

@@ -373,7 +373,7 @@ AT_DATA([input.y],
%token <operator> LE 134 "<="
%left OR "<="
%%
exp: ;
exp: %empty;
%%
]])
@@ -721,7 +721,7 @@ AT_KEYWORDS([report])
AT_DATA([input.y],
[[%%
statement: struct_stat;
struct_stat: /* empty. */ | if else;
struct_stat: %empty | if else;
if: "if" "const" "then" statement;
else: "else" statement;
%%
@@ -869,7 +869,7 @@ type: DATA
| INVALID
;
body: /* empty */
body: %empty
| body member
;
@@ -929,7 +929,7 @@ $1
%token B
%%
program: /* empty */
program: %empty
| program e ';'
| program error ';';