Add a position modifier for the fast parser. Not yet in use though.

This commit is contained in:
Dave Halter committed 2015-01-15 13:57:56 +01:00
1 parent c963706418
commit cf223a71f5
6 files changed
+28 -15

No files matched your search

+2 -1
View File
@@ -99,7 +99,8 @@ class LazyName(helpers.FakeName):
found = [evaluated]
content = iterable.AlreadyEvaluated(found)
stmt = pt.ExprStmt([self, pt.Operator('=', (0, 0), ''), content])
stmt = pt.ExprStmt([self, pt.Operator(pt.zero_position_modifier,
'=', (0, 0), ''), content])
stmt.parent = self._module
return stmt