1.1 --- a/test.py Sun Sep 07 18:43:40 2008 +0200
1.2 +++ b/test.py Sun Sep 07 20:23:10 2008 +0200
1.3 @@ -27,7 +27,7 @@
1.4 print "%6d" % (len(table_slice) - table_slice.count(None)), \
1.5 "".join(entry and "#" or "_" for entry in table_slice)
1.6
1.7 -def machine(importer, with_builtins=0, optimisations=None):
1.8 +def machine(importer, with_builtins=0, optimisations=None, debug=0):
1.9 print "Making the image..."
1.10 make(importer, with_builtins, optimisations)
1.11 print "Getting raw structures..."
1.12 @@ -37,7 +37,7 @@
1.13 paramlist = pt.as_raw()
1.14 rc = raw(importer.get_image(), ot, pt)
1.15 print "Initialising the machine..."
1.16 - rm = rsvp.RSVPMachine(rc, objlist, paramlist)
1.17 + rm = rsvp.RSVPMachine(rc, objlist, paramlist, debug=debug)
1.18 rm.pc = importer.code_location
1.19 return rm
1.20