diff --git a/lib/vast/Parser.py b/lib/vast/Parser.py index 4cd149c..d58bc0c 100644 --- a/lib/vast/Parser.py +++ b/lib/vast/Parser.py @@ -41,7 +41,6 @@ class Parser(ExprParserMixin): if self._At(NEWLINE): break extra: N.stmt = self.ParseStatement() - self._FixLoc(extra, stmt) body.append(extra) self._SkipNEWLINE() module: N.Module = N.Module(body=body, type_ignores=[]) @@ -639,7 +638,6 @@ class Parser(ExprParserMixin): if self._At(NEWLINE): break extra: N.stmt = self.ParseStatement() - self._FixLoc(extra, stmt) body.append(extra) self._SkipNEWLINE() self._Expect(DEDENT)