mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23:03 +00:00
tests: formatting changes
* tests/named-refs.at: Here.
This commit is contained in:
@@ -55,12 +55,12 @@ static int power (int base, int exponent);
|
|||||||
%%
|
%%
|
||||||
input:
|
input:
|
||||||
line
|
line
|
||||||
| input line { }
|
| input line {}
|
||||||
;
|
;
|
||||||
|
|
||||||
line:
|
line:
|
||||||
'\n'
|
'\n'
|
||||||
| exp '\n' { }
|
| exp '\n' {}
|
||||||
;
|
;
|
||||||
|
|
||||||
exp:
|
exp:
|
||||||
@@ -220,12 +220,12 @@ static int power (int base, int exponent);
|
|||||||
%%
|
%%
|
||||||
input:
|
input:
|
||||||
line
|
line
|
||||||
| input line { }
|
| input line {}
|
||||||
;
|
;
|
||||||
|
|
||||||
line:
|
line:
|
||||||
'\n'
|
'\n'
|
||||||
| exp '\n' { }
|
| exp '\n' {}
|
||||||
;
|
;
|
||||||
|
|
||||||
exp:
|
exp:
|
||||||
@@ -258,8 +258,8 @@ test.y:42.1-3: refers to: $exp at $$
|
|||||||
test.y:51.7: possibly meant: $x, hiding $exp at $1
|
test.y:51.7: possibly meant: $x, hiding $exp at $1
|
||||||
test.y:51.41: possibly meant: $r, hiding $exp at $4
|
test.y:51.41: possibly meant: $r, hiding $exp at $4
|
||||||
test.y:52.51-52: error: $l of 'exp' has no declared type
|
test.y:52.51-52: error: $l of 'exp' has no declared type
|
||||||
test.y:55.46-49: error: invalid reference: '$r12'
|
test.y:55.40-43: error: invalid reference: '$r12'
|
||||||
test.y:55.3-53: symbol not found in production: r12
|
test.y:55.3-47: symbol not found in production: r12
|
||||||
test.y:56.29-33: error: invalid reference: '$expo'
|
test.y:56.29-33: error: invalid reference: '$expo'
|
||||||
test.y:56.3-46: symbol not found in production: expo
|
test.y:56.3-46: symbol not found in production: expo
|
||||||
]])
|
]])
|
||||||
|
|||||||
Reference in New Issue
Block a user