diff --git a/lark/reconstruct.py b/lark/reconstruct.py index 79e294c..89967b2 100644 --- a/lark/reconstruct.py +++ b/lark/reconstruct.py @@ -1,4 +1,3 @@ -import unicodedata from collections import defaultdict from .tree import Tree @@ -131,7 +130,7 @@ class Reconstructor: rule_names = {r.origin for r in rules} nonterminals = {sym for sym in rule_names - if sym.name.startswith('_') or sym in expand1s or sym in aliases } + if sym.name.startswith('_') or sym in expand1s or sym in aliases } seen = set() for r in rules: diff --git a/tests/test_nearley/nearley b/tests/test_nearley/nearley index cf8925f..a46b374 160000 --- a/tests/test_nearley/nearley +++ b/tests/test_nearley/nearley @@ -1 +1 @@ -Subproject commit cf8925f729bde741a3076c5856c0c0862bc7f5de +Subproject commit a46b37471db486db0f6e1ce6a2934fb238346b44