Skip to content

Commit 0e1309f

Browse files
committed
fix buggy assert
1 parent b99d8d4 commit 0e1309f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

grape/automaton_generator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ def grammar_from_memory(
210210
key = (prog.function, tuple(map(str, prog.arguments)))
211211
else:
212212
key = (prog, ())
213-
assert key not in rules
214213
rules[key] = dst
215214
if state in prev_finals:
216215
finals.add(dst)

0 commit comments

Comments
 (0)