summaryrefslogtreecommitdiffstats
path: root/Parser/pgen/grammar.py
diff options
context:
space:
mode:
Diffstat (limited to 'Parser/pgen/grammar.py')
-rw-r--r--Parser/pgen/grammar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pgen/grammar.py b/Parser/pgen/grammar.py
index 05a37d6..340bf64 100644
--- a/Parser/pgen/grammar.py
+++ b/Parser/pgen/grammar.py
@@ -97,7 +97,7 @@ class Grammar:
' {{{dfa_symbol}, "{symbol_name}", '.format(
dfa_symbol=symbol, symbol_name=self.number2symbol[symbol]
)
- + "0, {n_states}, states_{dfa_index},\n".format(
+ + "{n_states}, states_{dfa_index},\n".format(
n_states=len(dfa), dfa_index=dfaindex
)
+ ' "'