Author: pmichaud
Date: Thu Apr 27 08:09:21 2006
New Revision: 12446

Modified:
   trunk/compilers/pge/PGE/OPTable.pir

Log:
[PGE]:  A stop token in OPToken.parse should be treated as "oper_not_found".


Modified: trunk/compilers/pge/PGE/OPTable.pir
==============================================================================
--- trunk/compilers/pge/PGE/OPTable.pir (original)
+++ trunk/compilers/pge/PGE/OPTable.pir Thu Apr 27 08:09:21 2006
@@ -355,11 +355,11 @@
     if has_stop > 0 goto check_stop_str
     mpos = pos
     $P0 = stop(mob)
-    if $P0 goto end
+    if $P0 goto oper_not_found
     goto key_search
   check_stop_str:
     $S0 = substr target, pos, has_stop
-    if $S0 == stop_str goto end
+    if $S0 == stop_str goto oper_not_found
 
   ## look through eligible tokens to find longest match
   key_search:

Reply via email to