Skip to content

Commit

Permalink
Fixing parser issue (parser would not recognize variable without modi…
Browse files Browse the repository at this point in the history
…fiers in module scope)
  • Loading branch information
m0rkeulv committed Feb 22, 2024
1 parent 3ee78dc commit 444d04d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private topLevelList ::= topLevel*
module ::= moduleBody
private topLevel ::= importStatement | usingStatement | module {recoverWhile="top_level_recover" name="import, using, or top level declaration"}
//private topLevel ::= importStatement | usingStatement | (embeddedMeta* topLevelDeclaration) | moduleDeclaration {recoverWhile="top_level_recover" name="import, using, or top level declaration"}
private top_level_recover ::= !(ppToken | '@' | 'abstract' | 'class' | 'enum' | 'extern' | 'import' | 'using' | 'interface' | 'private' | 'typedef' | 'final')
private top_level_recover ::= !(ppToken | '@' | 'abstract' | 'class' | 'enum' | 'extern' | 'import' | 'using' | 'interface' | 'private' | 'typedef' | 'final' | 'var'| 'inline')

// These are top-level parsing entry points for metadata.
compileTimeMetaArg ::= expression
Expand Down

0 comments on commit 444d04d

Please sign in to comment.