Skip to content

Commit

Permalink
fix: f1_g4_translate typo
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7Fancy committed Jan 8, 2024
1 parent 6eae7d1 commit 0854c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammars/f1_g4_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def translate(self):
;''' % entries)
for k in self.grammar_keys:
rules = self.grammar[k]
v = '\n | '.join([self.rule_to_s(key, rule, self.grammar)
v = '\n | '.join([self.rule_to_s(k, rule, self.grammar)
for rule in rules])
lines.append('''\
%s
Expand Down

0 comments on commit 0854c7c

Please sign in to comment.