Update of /cvsroot/wisp/wisp/users/dig
In directory sc8-pr-cvs1:/tmp/cvs-serv31904
Modified Files:
tran.py
Log Message:
renamed ClassMarker to Class_Marker
Index: tran.py
===================================================================
RCS file: /cvsroot/wisp/wisp/users/dig/tran.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- tran.py 17 Apr 2003 11:37:14 -0000 1.26
+++ tran.py 17 Apr 2003 11:45:49 -0000 1.27
@@ -151,7 +151,7 @@
def __repr__ (this):
return 'Register' + tuple.__repr__(this)
-class ClassMarker:
+class Class_Marker:
def __init__ (this, id):
this.id = id
@@ -250,7 +250,7 @@
Regstack.append(a - b)
def matchers (object):
- if isinstance(object, ClassMarker):
+ if isinstance(object, Class_Marker):
yield object.id
elif isinstance(object, Integer_Literal):
yield 'int'
@@ -367,22 +367,22 @@
':macro': ('builtin', colon_macro, 0 | MA_PREFIX),
':regs': ('builtin', colon_regs, 0 | MA_PREFIX),
'align int': ('builtin', align, 1),
- 'any': ('simple', ClassMarker('any')),
+ 'any': ('simple', Class_Marker('any')),
'b, lit': ('builtin', b_comma, 1),
- 'const': ('simple', ClassMarker('const')),
+ 'const': ('simple', Class_Marker('const')),
'drop any': ('builtin', drop, 1),
'dup any': ('builtin', dup, 1),
'include': ('include',),
- 'int': ('simple', ClassMarker('int')),
+ 'int': ('simple', Class_Marker('int')),
'label': ('builtin', label, 0 | MA_PREFIX),
- 'lit': ('simple', ClassMarker('lit')),
+ 'lit': ('simple', Class_Marker('lit')),
'minor reg': ('builtin', minor, 1),
'ref': ('builtin', ref, 0 | MA_PREFIX),
'reg': ('simple', Generic_Register),
'reserve int': ('builtin', reserve, 1),
- 'sum': ('simple', ClassMarker('sum')),
+ 'sum': ('simple', Class_Marker('sum')),
'swap any any': ('builtin', swap, 2),
- 'sym': ('simple', ClassMarker('sym')),
+ 'sym': ('simple', Class_Marker('sym')),
't, lit': ('builtin', t_comma, 1),
'w, lit': ('builtin', w_comma, 1),
}
|