summaryrefslogtreecommitdiff
path: root/tests/regression.at
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-06-11 18:09:05 +0200
committerAkim Demaille <akim.demaille@gmail.com>2019-06-11 20:40:36 +0200
commit5f33acefd16b14939d869a26cdf13bdc7b592d4a (patch)
treeb10c11f8a0fcbb68e759fc279d4ae553cd7f38a4 /tests/regression.at
parent849ba01b8b72c01d60dc335fc4a8207562e87ad9 (diff)
downloadbison-5f33acefd16b14939d869a26cdf13bdc7b592d4a.tar.gz
tests: prefer %empty
* tests/regression.at: here.
Diffstat (limited to 'tests/regression.at')
-rw-r--r--tests/regression.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/regression.at b/tests/regression.at
index bf0b4754..aabe8515 100644
--- a/tests/regression.at
+++ b/tests/regression.at
@@ -1325,9 +1325,9 @@ S: A B A A B A A A A B A A A A A A A B C C A A A A A A A A A A A A B ;
// ^ ^ ^
// LAC reallocs
-A: 'a' | /*empty*/ { printf ("inconsistent default reduction\n"); } ;
+A: 'a' | %empty { printf ("inconsistent default reduction\n"); } ;
B: 'b' ;
-C: /*empty*/ { printf ("consistent default reduction\n"); } ;
+C: %empty { printf ("consistent default reduction\n"); } ;
%%
]AT_YYERROR_DEFINE[
@@ -1405,7 +1405,7 @@ AT_DATA_GRAMMAR([input.y],
%%
S: A A A A A A A A A ;
-A: /*empty*/ | 'a' ;
+A: %empty | 'a' ;
%%
]AT_YYERROR_DEFINE[