summaryrefslogtreecommitdiff
path: root/tests/report.at
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-10-04 14:35:46 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-10-07 06:28:52 +0200
commit36143b5ecc698d64a7a3ff266a9ea7b6fba1749b (patch)
tree8bde515d6a525f3b4c718870802f75cace95fce0 /tests/report.at
parent7cd195b30aa615fa9996f471c1f200e016a904a5 (diff)
downloadbison-36143b5ecc698d64a7a3ff266a9ea7b6fba1749b.tar.gz
report: put the dot after %empty in items
When printing items, it is clearer to put the dot after %emtpy rather than before: 0 $accept: . unit "end of file" 1 unit: . assignments exp - 2 assignments: . %empty + 2 assignments: %empty . 3 | . assignments assignment Also, use the Unicode characters if they are supported. * src/gram.c (item_print): Put the dot after %emtpy. * tests/conflicts.at, tests/reduce.at, tests/report.at: Adjust.
Diffstat (limited to 'tests/report.at')
-rw-r--r--tests/report.at14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/report.at b/tests/report.at
index d55497aa..c6190491 100644
--- a/tests/report.at
+++ b/tests/report.at
@@ -376,7 +376,7 @@ State 0
0 $accept: . unit "end of file"
1 unit: . assignments exp
- 2 assignments: . %empty
+ 2 assignments: %empty .
3 | . assignments assignment
$default reduce using rule 2 (assignments)
@@ -498,7 +498,7 @@ State 11
State 12
- 6 @1: . %empty
+ 6 @1: %empty .
8 exp: "incr" exp . @1 @2 exp
$default reduce using rule 6 (@1)
@@ -531,7 +531,7 @@ State 14
State 15
- 7 @2: . %empty
+ 7 @2: %empty .
8 exp: "incr" exp @1 . @2 exp
$default reduce using rule 7 (@2)
@@ -1631,7 +1631,7 @@ State 1
0 $accept: YY_PARSE_unit . unit "end of file"
3 unit: . assignments exp
- 4 assignments: . %empty
+ 4 assignments: %empty .
5 | . assignments assignment
$default reduce using rule 4 (assignments)
@@ -1643,7 +1643,7 @@ State 1
State 2
1 $accept: YY_PARSE_assignments . assignments "end of file"
- 4 assignments: . %empty
+ 4 assignments: %empty .
5 | . assignments assignment
$default reduce using rule 4 (assignments)
@@ -1815,7 +1815,7 @@ State 18
State 19
- 8 @1: . %empty
+ 8 @1: %empty .
10 exp: "incr" exp . @1 @2 exp
$default reduce using rule 8 (@1)
@@ -1855,7 +1855,7 @@ State 22
State 23
- 9 @2: . %empty
+ 9 @2: %empty .
10 exp: "incr" exp @1 . @2 exp
$default reduce using rule 9 (@2)