add_custom_rules -> customize_grammar_rules

This commit is contained in:
rocky
2017-12-13 17:25:19 -05:00
parent c5be656320
commit f82edae5a1
17 changed files with 33 additions and 30 deletions

View File

@@ -551,7 +551,7 @@ class PythonParser(GenericASTBuilder):
def parse(p, tokens, customize):
p.add_custom_rules(tokens, customize)
p.customize_grammar_rules(tokens, customize)
ast = p.parse(tokens)
# p.cleanup()
return ast