Remove the module attribute from the parser.

This commit is contained in:
Dave Halter committed 2017-03-18 03:53:34 +01:00
1 parent d0b6d41e99
commit 0f66a3c7a8
11 files changed
+21 -20

No files matched your search

-1
View File
@@ -197,7 +197,6 @@ class ParserWithRecovery(Parser):
def parse(self, tokenizer):
root_node = super(ParserWithRecovery, self).parse(self._tokenize(tokenizer))
root_node.path = self._module_path
self.module = root_node
return root_node
def error_recovery(self, grammar, stack, arcs, typ, value, start_pos, prefix,