Skip to content

Commit

Permalink
fix(lang): Fix namespace blocks are not recovered correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
siketyan committed Nov 18, 2024
1 parent d6d5c33 commit c594c7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions gen/jp/s6n/idea/typespec/lang/parser/TypeSpecParser.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion grammars/TypeSpec.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Statement ::=
}

private Statement_recover ::= !(
IMPORT | USING | NAMESPACE | SCALAR | ENUM | UNION | MODEL | INTERFACE | OP | ALIAS | EXTERN | AT | ATAT | HASH
RBRACE | SEMICOLON | IMPORT | USING | NAMESPACE | SCALAR | ENUM | UNION | MODEL | INTERFACE | OP | ALIAS | EXTERN | AT | ATAT | HASH
)

ImportStatement ::= IMPORT STRING_LITERAL SEMICOLON {
Expand Down

0 comments on commit c594c7c

Please sign in to comment.