[fine] Working on parser resilience
This commit is contained in:
parent
11cb7199e9
commit
741a729f8d
5 changed files with 129 additions and 1 deletions
|
|
@ -1,20 +0,0 @@
|
|||
fun foo() { }
|
||||
|
||||
} // <- Whoopsie!
|
||||
|
||||
// @concrete:
|
||||
// | File
|
||||
// | FunctionDecl
|
||||
// | Fun:'"fun"'
|
||||
// | Identifier:'"foo"'
|
||||
// | ParamList
|
||||
// | LeftParen:'"("'
|
||||
// | RightParen:'")"'
|
||||
// | Block
|
||||
// | LeftBrace:'"{"'
|
||||
// | RightBrace:'"}"'
|
||||
// | Error
|
||||
// | Error:'"Error at '}': unbalanced '}'"'
|
||||
// | RightBrace:'"}"'
|
||||
// |
|
||||
//
|
||||
Loading…
Add table
Add a link
Reference in a new issue