Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion format_out/grammer/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def check_lr1(self):
for j in range(i + 1, len(items)):
if items[j].can_accept_input(cur_t):
print("check failed node:", node)
raise Exception("lr1 check fialed")
raise ValueError("lr1 check failed")

return

Expand Down