[ZPT] CVS: Releases/Zope/lib/python/TAL - TALInterpreter.py:1.59

Evan Simpson evan@zope.com
Mon, 15 Oct 2001 14:03:37 -0400


Update of /cvs-repository/Releases/Zope/lib/python/TAL
In directory cvs.zope.org:/tmp/cvs-serv13725

Modified Files:
	TALInterpreter.py 
Log Message:
All position changes should now be sent to the engine.


=== Releases/Zope/lib/python/TAL/TALInterpreter.py 1.58 => 1.59 ===
         self._stream_write(s)
         self.col = col
-        self.position = position
+        self.do_setPosition(position)
         if closeprev:
             engine = self.engine
             engine.endScope()
@@ -441,7 +441,7 @@
     def do_rawtextBeginScope_tal(self, (s, col, position, closeprev, dict)):
         self._stream_write(s)
         self.col = col
-        self.position = position
+        self.do_setPosition(position)
         engine = self.engine
         if closeprev:
             engine.endScope()