[svn:parrot] r40175 - trunk/compilers/pge/PGE

pmichaud at svn.parrot.org pmichaud at svn.parrot.org
Mon Jul 20 23:45:13 UTC 2009


Author: pmichaud
Date: Mon Jul 20 23:45:12 2009
New Revision: 40175
URL: https://trac.parrot.org/parrot/changeset/40175

Log:
[pge]: Failing to find a named regex should die directly instead of Null PMC

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

Modified: trunk/compilers/pge/PGE/Exp.pir
==============================================================================
--- trunk/compilers/pge/PGE/Exp.pir	Mon Jul 20 22:08:42 2009	(r40174)
+++ trunk/compilers/pge/PGE/Exp.pir	Mon Jul 20 23:45:12 2009	(r40175)
@@ -862,7 +862,7 @@
         %L_1:
           $P0 = find_name '%0'
           unless null $P0 goto %L_2
-          say "Unable to find regex '%0'"
+          die "Unable to find regex '%0'"
         %L_2:
         CODE
 


More information about the parrot-commits mailing list