Author: pmichaud
Date: Sat Feb 23 01:34:40 2008
New Revision: 26010
Modified:
trunk/compilers/pct/src/PCT/HLLCompiler.pir
Log:
[pct]:
* Fix '-e' option so that it also honors --target= and other options.
* Patch from chromatic++ , with minor refactors.
* Resolves RT#51116.
Modified: trunk/compilers/pct/src/PCT/HLLCompiler.pir
==============================================================================
--- trunk/compilers/pct/src/PCT/HLLCompiler.pir (original)
+++ trunk/compilers/pct/src/PCT/HLLCompiler.pir Sat Feb 23 01:34:40 2008
@@ -681,6 +681,9 @@
goto save_output
interactive:
self.'interactive'(args :flat, adverbs :flat :named)
+ goto save_output
+ eval_line:
+ result = self.'eval'($S0, adverbs :flat :named)
save_output:
if null result goto end
@@ -711,8 +714,6 @@
version:
self.'version'()
goto end
- eval_line:
- self.'eval'($S0, adverbs :flat :named)
.end