Author: particle
Date: Fri Dec 30 11:22:44 2005
New Revision: 10798
Modified:
trunk/examples/pasm/small.xml (props changed)
trunk/examples/pasm/trace.pasm
trunk/examples/pasm/xml_parser.pasm
trunk/t/examples/pasm.t
Log:
examples: fix two failing win32 tests
~ 1 uninitialized IREG
~ 1 DOD sweep interfering with test results
Modified: trunk/examples/pasm/trace.pasm
==============================================================================
--- trunk/examples/pasm/trace.pasm (original)
+++ trunk/examples/pasm/trace.pasm Fri Dec 30 11:22:44 2005
@@ -15,6 +15,7 @@ Shows you what happens when you turn on
=cut
+sweepoff
print "Howdy!\n"
trace 1
print "There!\n"
Modified: trunk/examples/pasm/xml_parser.pasm
==============================================================================
--- trunk/examples/pasm/xml_parser.pasm (original)
+++ trunk/examples/pasm/xml_parser.pasm Fri Dec 30 11:22:44 2005
@@ -363,6 +363,8 @@ CHAR: restore S0
# Main Body
#
MAIN:
+ set I8, 0
+
# For now, this is the XML that's going to get parsed.
# When the read() stuff gets fixed, this can be read from
# a file as it's being processed. For now, slurp it.
Modified: trunk/t/examples/pasm.t
==============================================================================
--- trunk/t/examples/pasm.t (original)
+++ trunk/t/examples/pasm.t Fri Dec 30 11:22:44 2005
@@ -80,9 +80,9 @@ END_EXPECTED
'trace.pasm' => << 'END_EXPECTED',
Howdy!
- 4 print "There!\n"
+ 5 print "There!\n"
There!
- 6 trace 0
+ 7 trace 0
Partner!
END_EXPECTED