Revision: 4535
http://oorexx.svn.sourceforge.net/oorexx/?rev=4535&view=rev
Author: bigrixx
Date: 2009-04-28 12:59:10 +0000 (Tue, 28 Apr 2009)
Log Message:
-----------
[ oorexx-Bugs-2782557 ] Trace r doesn't show results of Parse
Modified Paths:
--------------
main/branches/4.0beta/trunk/interpreter/instructions/ParseTarget.cpp
Modified: main/branches/4.0beta/trunk/interpreter/instructions/ParseTarget.cpp
===================================================================
--- main/branches/4.0beta/trunk/interpreter/instructions/ParseTarget.cpp 2009-04-28 12:58:52 UTC (rev 4534)
+++ main/branches/4.0beta/trunk/interpreter/instructions/ParseTarget.cpp 2009-04-28 12:59:10 UTC (rev 4535)
@@ -118,6 +118,8 @@
// reset the stack to the entry top, and push this value on to protect it.
this->stack->setTop(this->stackTop);
this->stack->push(string);
+ // if tracing results or intermediates, show the string being parsed.
+ context->traceResult(string);
this->start = 0; /* start at the beginning */
this->pattern_end = 0; /* no pattern done yet */
this->pattern_start = 0; /* save the pattern start */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|