Skip to content

Commit

Permalink
chore: Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVaultdweller13 committed Dec 31, 2024
1 parent b9b7c30 commit 0f89441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def __init__(self, grammar=grammar.imperivm, visitor=visitor.ImperivmVisitor()):
self.visitor = visitor

def parse(self, program):
output_str = PreProcessor.remove_comments(program)
tree = self.grammar.parse(output_str)
program = PreProcessor.remove_comments(program)
tree = self.grammar.parse(program)
return self.visitor.visit(tree)


Expand Down

0 comments on commit 0f89441

Please sign in to comment.