Skip to content

Commit

Permalink
Fix a minor bug parsing IF statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Apr 4, 2011
1 parent 62c416b commit 981cc89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pl1_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ def p_statement_if(self):
self.get_sym()
condition = self.p_condition()

self.get_sym()
self.expect_sym('THEN')
self.get_sym()

statement = self.p_statement()

Expand Down

0 comments on commit 981cc89

Please sign in to comment.