[svn:parrot] r41886 - trunk/t/compilers/imcc/syn

mikehh at svn.parrot.org mikehh at svn.parrot.org
Fri Oct 16 10:07:32 UTC 2009


Author: mikehh
Date: Fri Oct 16 10:07:28 2009
New Revision: 41886
URL: https://trac.parrot.org/parrot/changeset/41886

Log:
fix failing tests in testS for macro line numbering

Modified:
   trunk/t/compilers/imcc/syn/macro.t
   trunk/t/compilers/imcc/syn/regressions.t

Modified: trunk/t/compilers/imcc/syn/macro.t
==============================================================================
--- trunk/t/compilers/imcc/syn/macro.t	Fri Oct 16 08:09:38 2009	(r41885)
+++ trunk/t/compilers/imcc/syn/macro.t	Fri Oct 16 10:07:28 2009	(r41886)
@@ -35,7 +35,7 @@
     end
 .end
 CODE
-/(?s:Null PMC access .*current instr.*:(4|-1)\))/
+/(?s:Null PMC access .*current instr.*:(4|-1|2)\))/
 OUTPUT
 
 pir_error_output_like( <<'CODE', <<'OUTPUT', 'macro, zero parameters, line number' );
@@ -47,7 +47,7 @@
     end
 .end
 CODE
-/(?s:Null PMC access .*current instr.*:(5|-1)\))/
+/(?s:Null PMC access .*current instr.*:(5|-1|3)\))/
 OUTPUT
 
 pir_error_output_like( <<'CODE', <<'OUTPUT', 'macro, zero parameters, line number' );
@@ -60,7 +60,7 @@
     end
 .end
 CODE
-/(?s:Null PMC access .*current instr.*:(6|-1)\))/
+/(?s:Null PMC access .*current instr.*:(6|-1|2)\))/
 OUTPUT
 
 pir_output_is( <<'CODE', <<'OUTPUT', 'macro, one unused parameter, literal term' );

Modified: trunk/t/compilers/imcc/syn/regressions.t
==============================================================================
--- trunk/t/compilers/imcc/syn/regressions.t	Fri Oct 16 08:09:38 2009	(r41885)
+++ trunk/t/compilers/imcc/syn/regressions.t	Fri Oct 16 10:07:28 2009	(r41886)
@@ -102,7 +102,7 @@
 no:
 .end
 CODE
-/(?s:Null PMC access in get_bool.*current instr.*:(4|-1)\))/
+/(?s:Null PMC access in get_bool.*current instr.*:(4|-1|3)\))/
 OUT
 
 pir_error_output_like( <<'CODE', <<'OUT', 'bare method names not allowed (RT #45859)');


More information about the parrot-commits mailing list