We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b99d8d4 commit 0e1309fCopy full SHA for 0e1309f
1 file changed
grape/automaton_generator.py
@@ -210,7 +210,6 @@ def grammar_from_memory(
210
key = (prog.function, tuple(map(str, prog.arguments)))
211
else:
212
key = (prog, ())
213
- assert key not in rules
214
rules[key] = dst
215
if state in prev_finals:
216
finals.add(dst)
0 commit comments