Update of /cvsroot/wisp/wisp/users/dig
In directory sc8-pr-cvs1:/tmp/cvs-serv11143
Modified Files:
tran.py
Log Message:
minor cleanup
Index: tran.py
===================================================================
RCS file: /cvsroot/wisp/wisp/users/dig/tran.py,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -d -r1.128 -r1.129
--- tran.py 22 May 2003 17:21:03 -0000 1.128
+++ tran.py 22 May 2003 17:28:09 -0000 1.129
@@ -240,7 +240,7 @@
if pa: flags |= MA_PREFIX
d[name] = 'builtin', _p, flags
-def make_universal_meaning (fn):
+def make_universal_meaning ():
um = {'...': Unique('...')}
for m in 'any const int lit sum sym'.split(' '): um[m] = Class_Marker(m)
load_primitives(um, 'tran-builtins')
@@ -249,7 +249,7 @@
class Interpreter (object):
__slots__ = 'sections current recordee regpaths hanging regstack state meaning register_names toksrc included byte_order'.split()
- universal_meaning = make_universal_meaning('tran-builtins')
+ universal_meaning = make_universal_meaning()
def add_section (this, name):
if this.sections.has_key(name):
|