e0/lib/parser.messages
Michael Zhang e66b515826
Parsing
2022-03-08 02:52:20 -06:00

108 lines
2.3 KiB
Text

program: PUNCT_RPAREN
##
## Ends in an error in state: 0.
##
## program' -> . program [ # ]
##
## The known suffix of the stack is as follows:
##
##
<YOUR SYNTAX ERROR MESSAGE HERE>
program: KWD_FN PUNCT_RPAREN
##
## Ends in an error in state: 1.
##
## func -> KWD_FN . IDENT PUNCT_LPAREN PUNCT_RPAREN body [ KWD_FN # ]
##
## The known suffix of the stack is as follows:
## KWD_FN
##
<YOUR SYNTAX ERROR MESSAGE HERE>
program: KWD_FN IDENT PUNCT_RPAREN
##
## Ends in an error in state: 2.
##
## func -> KWD_FN IDENT . PUNCT_LPAREN PUNCT_RPAREN body [ KWD_FN # ]
##
## The known suffix of the stack is as follows:
## KWD_FN IDENT
##
<YOUR SYNTAX ERROR MESSAGE HERE>
program: KWD_FN IDENT PUNCT_LPAREN PUNCT_RBRACE
##
## Ends in an error in state: 3.
##
## func -> KWD_FN IDENT PUNCT_LPAREN . PUNCT_RPAREN body [ KWD_FN # ]
##
## The known suffix of the stack is as follows:
## KWD_FN IDENT PUNCT_LPAREN
##
<YOUR SYNTAX ERROR MESSAGE HERE>
program: KWD_FN IDENT PUNCT_LPAREN PUNCT_RPAREN PUNCT_RPAREN
##
## Ends in an error in state: 4.
##
## func -> KWD_FN IDENT PUNCT_LPAREN PUNCT_RPAREN . body [ KWD_FN # ]
##
## The known suffix of the stack is as follows:
## KWD_FN IDENT PUNCT_LPAREN PUNCT_RPAREN
##
<YOUR SYNTAX ERROR MESSAGE HERE>
program: KWD_FN IDENT PUNCT_LPAREN PUNCT_RPAREN PUNCT_LBRACE PUNCT_RPAREN
##
## Ends in an error in state: 5.
##
## body -> PUNCT_LBRACE . list(stmt) PUNCT_RBRACE [ KWD_FN # ]
##
## The known suffix of the stack is as follows:
## PUNCT_LBRACE
##
<YOUR SYNTAX ERROR MESSAGE HERE>
program: KWD_FN IDENT PUNCT_LPAREN PUNCT_RPAREN PUNCT_LBRACE KWD_RETURN PUNCT_RPAREN
##
## Ends in an error in state: 6.
##
## stmt -> KWD_RETURN . expr [ PUNCT_RBRACE KWD_RETURN ]
##
## The known suffix of the stack is as follows:
## KWD_RETURN
##
<YOUR SYNTAX ERROR MESSAGE HERE>
program: KWD_FN IDENT PUNCT_LPAREN PUNCT_RPAREN PUNCT_LBRACE KWD_RETURN LIT_NEG_INT PUNCT_RPAREN
##
## Ends in an error in state: 9.
##
## list(stmt) -> stmt . list(stmt) [ PUNCT_RBRACE ]
##
## The known suffix of the stack is as follows:
## stmt
##
<YOUR SYNTAX ERROR MESSAGE HERE>
program: KWD_FN IDENT PUNCT_LPAREN PUNCT_RPAREN PUNCT_LBRACE PUNCT_RBRACE PUNCT_RPAREN
##
## Ends in an error in state: 17.
##
## list(decl) -> decl . list(decl) [ # ]
##
## The known suffix of the stack is as follows:
## decl
##
<YOUR SYNTAX ERROR MESSAGE HERE>