Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop pre-parsing declarations on {} blocks only when nested allowed
When nesting is not allowed, we should consume tokens until we meet a semicolon. When it’s allowed, we have to stop at {} blocks to keep possibly valid declarations after them.
- Loading branch information