[ZPT] CVS: Packages/TAL - TALGenerator.py:1.37 TALInterpreter.py:1.43
guido@digicool.com
guido@digicool.com
Thu, 17 May 2001 20:42:38 -0400 (EDT)
Update of /cvs-repository/Packages/TAL
In directory korak.digicool.com:/tmp/cvs-serv17354
Modified Files:
TALGenerator.py TALInterpreter.py
Log Message:
Rename tagDict opcode to rawAttrs, and rename the 'tag' variable to 'attrs'.
--- Updated File TALGenerator.py in package Packages/TAL --
--- TALGenerator.py 2001/05/17 04:16:18 1.36
+++ TALGenerator.py 2001/05/18 00:42:07 1.37
@@ -410,7 +410,7 @@
todo["fillSlot"] = fillSlot
if taldict:
self.emit("beginScope")
- self.emit("tagDict", self.makeAttrDict(attrlist))
+ self.emit("rawAttrs", self.makeAttrDict(attrlist))
todo["scope"] = 1
if onError:
self.pushProgram() # handler
--- Updated File TALInterpreter.py in package Packages/TAL --
--- TALInterpreter.py 2001/05/17 04:13:31 1.42
+++ TALInterpreter.py 2001/05/18 00:42:07 1.43
@@ -353,9 +353,9 @@
value = self.engine.evaluateValue(expr)
self.engine.setGlobal(name, value)
- def do_tagDict(self, dict):
+ def do_rawAttrs(self, dict):
if self.tal:
- self.engine.setLocal("tag", dict)
+ self.engine.setLocal("attrs", dict)
def do_insertText(self, expr, block):
if not self.tal: