[ZPT] CVS: Packages/TAL - TALInterpreter.py:1.42

guido@digicool.com guido@digicool.com
Thu, 17 May 2001 00:13:35 -0400 (EDT)


Update of /cvs-repository/Packages/TAL
In directory korak.digicool.com:/tmp/cvs-serv7315

Modified Files:
	TALInterpreter.py 
Log Message:
Add new opcode tagDict, to set the dictionary of raw attributes for a
tag.



--- Updated File TALInterpreter.py in package Packages/TAL --
--- TALInterpreter.py	2001/05/16 21:20:11	1.41
+++ TALInterpreter.py	2001/05/17 04:13:31	1.42
@@ -353,6 +353,10 @@
         value = self.engine.evaluateValue(expr)
         self.engine.setGlobal(name, value)
 
+    def do_tagDict(self, dict):
+        if self.tal:
+            self.engine.setLocal("tag", dict)
+
     def do_insertText(self, expr, block):
         if not self.tal:
             self.interpret(block)