Commit b2ebb393 authored by POTTIER Francois's avatar POTTIER Francois
Browse files

Fix the expected test output after changes in [standard.mly].

parent 454a40fa
File "duplicate-formal.mly", line 6, characters 0-3:
Error: several parameters of this rule are named "X25".
Error: several parameters of this rule are named "X27".
File "option.mly", line 6, characters 0-6:
File "../../src/standard.mly", line 98, characters 8-14:
File "../../src/standard.mly", line 112, characters 8-14:
Error: the symbol option is defined with arities 0 and 1.
File "unification-error-in-args.mly", line 7, characters 6-7:
Error: does the symbol "X25" expect 0 or 1 argument?
Error: does the symbol "X27" expect 0 or 1 argument?
......@@ -1397,4 +1397,3 @@ assignment_operator:
......@@ -1008,4 +1008,3 @@ check_expr:
%%
......@@ -1021,4 +1021,3 @@ exp_case:
%%
......@@ -287,4 +287,3 @@ phrase:
%%
......@@ -567,4 +567,3 @@ ty0s:
%%
......@@ -132,4 +132,3 @@ atom:
%%
......@@ -4,18 +4,18 @@ Grammar has 9 productions.
nullable(seplist(A)) = false
nullable(phrase) = false
nullable(other) = false
nullable(midrule(__anonymous_1)) = false
nullable(list(__anonymous_0(A,B))) = true
nullable(embedded(__anonymous_1)) = false
first(seplist(A)) = A
first(phrase) = C
first(other) = A
first(midrule(__anonymous_1)) = D C
first(list(__anonymous_0(A,B))) = B A
first(embedded(__anonymous_1)) = D C
follow(seplist(A)) = EOF
follow(phrase) = #
follow(other) = #
follow(midrule(__anonymous_1)) = A
follow(list(__anonymous_0(A,B))) = EOF D
follow(embedded(__anonymous_1)) = A
Built an LR(0) automaton with 20 states.
The grammar is SLR(1).
Built an LR(1) automaton with 20 states.
......
......@@ -32,4 +32,4 @@ other:
D and is NOT parameterized over X. *)
seplist(X):
X {}
| X embedded(C {} | D {}) seplist(X) {}
| X midrule(C {} | D {}) seplist(X) {}
......@@ -10,17 +10,17 @@
%type <(int, int) either> phrase
%%
embedded___anonymous_1_:
midrule___anonymous_1_:
_10 = C
{let x =
let _1 = _10 in
()
()
in
( x )}
| _10 = D
{let x =
let _1 = _10 in
()
()
in
( x )}
......@@ -61,10 +61,9 @@ other:
seplist_A_:
_1 = A
{ ()}
| _1 = A _2 = embedded___anonymous_1_ _3 = seplist_A_
{ ()}
| _1 = A _2 = midrule___anonymous_1_ _3 = seplist_A_
{ ()}
%%
......@@ -47,4 +47,3 @@ phrase:
%%
......@@ -277,4 +277,3 @@ field_name:
%%
......@@ -257,4 +257,3 @@ TyBinder:
%%
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment