[fine] Fix a problem with a stuck parser

Whoops
This commit is contained in:
John Doty 2024-01-21 09:01:12 -08:00
parent 5f0a0b3268
commit 11cb7199e9
2 changed files with 44 additions and 3 deletions

View file

@ -0,0 +1,20 @@
fun foo() { }
} // <- Whoopsie!
// @concrete:
// | File
// | FunctionDecl
// | Fun:'"fun"'
// | Identifier:'"foo"'
// | ParamList
// | LeftParen:'"("'
// | RightParen:'")"'
// | Block
// | LeftBrace:'"{"'
// | RightBrace:'"}"'
// | Error
// | Error:'"Error at '}': unbalanced '}'"'
// | RightBrace:'"}"'
// |
//