Remove the module attribute from the parser.
This commit is contained in:
1 parent
d0b6d41e99
commit
0f66a3c7a8
11 files changed
+21
-20
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user