Updated syntax error messages.
This commit is contained in:
parent
8d291b2d2e
commit
2d65ba638e
@ -2380,14 +2380,14 @@ interactive_expr: LBRACKET With
|
|||||||
|
|
||||||
<YOUR SYNTAX ERROR MESSAGE HERE>
|
<YOUR SYNTAX ERROR MESSAGE HERE>
|
||||||
|
|
||||||
interactive_expr: LPAR Verbatim COLON String VBAR
|
interactive_expr: LPAR Verbatim COLON Ident VBAR
|
||||||
##
|
##
|
||||||
## Ends in an error in state: 582.
|
## Ends in an error in state: 583.
|
||||||
##
|
##
|
||||||
## par(__anonymous_1) -> LPAR expr COLON type_expr . RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
## par(annot_expr) -> LPAR annot_expr . RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
||||||
##
|
##
|
||||||
## The known suffix of the stack is as follows:
|
## The known suffix of the stack is as follows:
|
||||||
## LPAR expr COLON type_expr
|
## LPAR annot_expr
|
||||||
##
|
##
|
||||||
## WARNING: This example involves spurious reductions.
|
## WARNING: This example involves spurious reductions.
|
||||||
## This implies that, although the LR(1) items shown above provide an
|
## This implies that, although the LR(1) items shown above provide an
|
||||||
@ -2396,6 +2396,7 @@ interactive_expr: LPAR Verbatim COLON String VBAR
|
|||||||
## In state 28, spurious reduction of production cartesian -> core_type
|
## In state 28, spurious reduction of production cartesian -> core_type
|
||||||
## In state 36, spurious reduction of production fun_type -> cartesian
|
## In state 36, spurious reduction of production fun_type -> cartesian
|
||||||
## In state 27, spurious reduction of production type_expr -> fun_type
|
## In state 27, spurious reduction of production type_expr -> fun_type
|
||||||
|
## In state 582, spurious reduction of production annot_expr -> expr COLON type_expr
|
||||||
##
|
##
|
||||||
|
|
||||||
<YOUR SYNTAX ERROR MESSAGE HERE>
|
<YOUR SYNTAX ERROR MESSAGE HERE>
|
||||||
@ -2404,10 +2405,10 @@ interactive_expr: LPAR Verbatim COLON With
|
|||||||
##
|
##
|
||||||
## Ends in an error in state: 581.
|
## Ends in an error in state: 581.
|
||||||
##
|
##
|
||||||
## par(__anonymous_1) -> LPAR expr COLON . type_expr RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
## annot_expr -> expr COLON . type_expr [ RPAR ]
|
||||||
##
|
##
|
||||||
## The known suffix of the stack is as follows:
|
## The known suffix of the stack is as follows:
|
||||||
## LPAR expr COLON
|
## expr COLON
|
||||||
##
|
##
|
||||||
|
|
||||||
<YOUR SYNTAX ERROR MESSAGE HERE>
|
<YOUR SYNTAX ERROR MESSAGE HERE>
|
||||||
@ -2416,7 +2417,7 @@ interactive_expr: LPAR Verbatim With
|
|||||||
##
|
##
|
||||||
## Ends in an error in state: 579.
|
## Ends in an error in state: 579.
|
||||||
##
|
##
|
||||||
## par(__anonymous_1) -> LPAR expr . COLON type_expr RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
## annot_expr -> expr . COLON type_expr [ RPAR ]
|
||||||
## par(expr) -> LPAR expr . RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
## par(expr) -> LPAR expr . RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
||||||
##
|
##
|
||||||
## The known suffix of the stack is as follows:
|
## The known suffix of the stack is as follows:
|
||||||
@ -2446,7 +2447,7 @@ interactive_expr: LPAR With
|
|||||||
##
|
##
|
||||||
## Ends in an error in state: 167.
|
## Ends in an error in state: 167.
|
||||||
##
|
##
|
||||||
## par(__anonymous_1) -> LPAR . expr COLON type_expr RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
## par(annot_expr) -> LPAR . annot_expr RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
||||||
## par(expr) -> LPAR . expr RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
## par(expr) -> LPAR . expr RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
||||||
## unit -> LPAR . RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
## unit -> LPAR . RPAR [ With Verbatim VBAR Type True Then TIMES String SLASH SEMI RPAR RBRACKET RBRACE PLUS Or Nat NE Mutez Mod MINUS Let LT LPAR LE LBRACKET LBRACE Int In Ident GT GE False End Else EQ EOF Constr CONS COMMA COLON CAT Bytes Begin BOOL_OR BOOL_AND Attr ]
|
||||||
##
|
##
|
||||||
@ -3753,7 +3754,7 @@ interactive_expr: Verbatim WILD
|
|||||||
|
|
||||||
interactive_expr: Verbatim With
|
interactive_expr: Verbatim With
|
||||||
##
|
##
|
||||||
## Ends in an error in state: 599.
|
## Ends in an error in state: 600.
|
||||||
##
|
##
|
||||||
## interactive_expr -> expr . EOF [ # ]
|
## interactive_expr -> expr . EOF [ # ]
|
||||||
##
|
##
|
||||||
@ -3782,7 +3783,7 @@ interactive_expr: Verbatim With
|
|||||||
|
|
||||||
interactive_expr: With
|
interactive_expr: With
|
||||||
##
|
##
|
||||||
## Ends in an error in state: 597.
|
## Ends in an error in state: 598.
|
||||||
##
|
##
|
||||||
## interactive_expr' -> . interactive_expr [ # ]
|
## interactive_expr' -> . interactive_expr [ # ]
|
||||||
##
|
##
|
||||||
@ -4228,7 +4229,7 @@ contract: Let LPAR With
|
|||||||
|
|
||||||
contract: Let Rec WILD EQ Bytes With
|
contract: Let Rec WILD EQ Bytes With
|
||||||
##
|
##
|
||||||
## Ends in an error in state: 586.
|
## Ends in an error in state: 587.
|
||||||
##
|
##
|
||||||
## let_declaration -> Let Rec let_binding . seq(Attr) [ Type Let EOF ]
|
## let_declaration -> Let Rec let_binding . seq(Attr) [ Type Let EOF ]
|
||||||
##
|
##
|
||||||
@ -4353,7 +4354,7 @@ contract: Let WILD EQ Bytes Attr With
|
|||||||
|
|
||||||
contract: Let WILD EQ Bytes With
|
contract: Let WILD EQ Bytes With
|
||||||
##
|
##
|
||||||
## Ends in an error in state: 588.
|
## Ends in an error in state: 589.
|
||||||
##
|
##
|
||||||
## let_declaration -> Let let_binding . seq(Attr) [ Type Let EOF ]
|
## let_declaration -> Let let_binding . seq(Attr) [ Type Let EOF ]
|
||||||
##
|
##
|
||||||
@ -4489,7 +4490,7 @@ contract: Type Ident EQ Constr With
|
|||||||
|
|
||||||
contract: Type Ident EQ Ident VBAR
|
contract: Type Ident EQ Ident VBAR
|
||||||
##
|
##
|
||||||
## Ends in an error in state: 594.
|
## Ends in an error in state: 595.
|
||||||
##
|
##
|
||||||
## declarations -> declaration . [ EOF ]
|
## declarations -> declaration . [ EOF ]
|
||||||
## declarations -> declaration . declarations [ EOF ]
|
## declarations -> declaration . declarations [ EOF ]
|
||||||
@ -4505,7 +4506,7 @@ contract: Type Ident EQ Ident VBAR
|
|||||||
## In state 36, spurious reduction of production fun_type -> cartesian
|
## In state 36, spurious reduction of production fun_type -> cartesian
|
||||||
## In state 27, spurious reduction of production type_expr -> fun_type
|
## In state 27, spurious reduction of production type_expr -> fun_type
|
||||||
## In state 61, spurious reduction of production type_decl -> Type Ident EQ type_expr
|
## In state 61, spurious reduction of production type_decl -> Type Ident EQ type_expr
|
||||||
## In state 590, spurious reduction of production declaration -> type_decl
|
## In state 591, spurious reduction of production declaration -> type_decl
|
||||||
##
|
##
|
||||||
|
|
||||||
<YOUR SYNTAX ERROR MESSAGE HERE>
|
<YOUR SYNTAX ERROR MESSAGE HERE>
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user