Skip to content

Commit

Permalink
Use pseudo-prop syntax for @export
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Oct 20, 2020
1 parent 8ccadc8 commit a0487aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python.grammar
Expand Up @@ -64,7 +64,7 @@ importedNames { commaSep<VariableName | VariableName kw<"as"> VariableName> }

commaSep<expr> { expr ("," expr?)* }

@export compoundStatement {
compoundStatement[@export] {
IfStatement |
WhileStatement { kw<"while"> testNamed Body elseClause? } |
ForStatement { kw<"async">? kw<"for"> commaSep<"*"? expression> kw<"in"> commaSep<test> Body elseClause? } |
Expand Down

0 comments on commit a0487aa

Please sign in to comment.