diff --git a/utils/gramatron/gnf_converter.py b/utils/gramatron/gnf_converter.py index d942b91c00..0bc70d1555 100755 --- a/utils/gramatron/gnf_converter.py +++ b/utils/gramatron/gnf_converter.py @@ -78,7 +78,7 @@ def remove_left_recursion(grammar): for rule in rules: tokens = gettokens(rule) if tokens[0] == lhs: - left_recursion = False + no_left_recursion = False break else: continue