Fixed infinite recursion when parsing complex BNF node

This commit is contained in:
2020-06-23 15:22:27 +02:00
parent 912455c343
commit 7310bc5522
28 changed files with 1082 additions and 276 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ def get_node(
if sub_expr == "')'":
return ")"
if isinstance(sub_expr, (scnode, utnode)):
if isinstance(sub_expr, (scnode, utnode, DoNotResolve)):
return sub_expr
if isinstance(sub_expr, cnode):