[Python-checkins] CVS: python/nondist/sandbox/parrot parrot-gen.py,1.1,1.2
A.M. Kuchling
akuchling@users.sourceforge.net
Fri, 28 Sep 2001 14:26:59 -0700
Update of /cvsroot/python/python/nondist/sandbox/parrot
In directory usw-pr-cvs1:/tmp/cvs-serv12741
Modified Files:
parrot-gen.py
Log Message:
Specify verbosity flag as keyword arg
Index: parrot-gen.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/parrot/parrot-gen.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** parrot-gen.py 2001/09/26 20:37:43 1.1
--- parrot-gen.py 2001/09/28 21:26:56 1.2
***************
*** 353,357 ****
# Determine locals and assign them to registers
! lnf = walk(ast, LocalNameFinder(), 0)
for name in lnf.getLocals().elements():
reg = LOCAL_REGS[name] = random.choice(FREE_REGISTERS)
--- 353,357 ----
# Determine locals and assign them to registers
! lnf = walk(ast, LocalNameFinder(), verbose=0)
for name in lnf.getLocals().elements():
reg = LOCAL_REGS[name] = random.choice(FREE_REGISTERS)