Skip to content

Commit

Permalink
Undo another unrelated change
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed Oct 11, 2023
1 parent ac472d1 commit 6f41b83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/interpreted/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def parse_statement(self) -> Statement:
# Extra newlines can be ignored as empty statements
while self.match_type(TokenType.NEWLINE):
pass

if self.peek().string == '@':
decorators = self.parse_decorators()
self.expect_name("def")
Expand Down

0 comments on commit 6f41b83

Please sign in to comment.