must use aTHX_ for anything with a pTHX_ in proto
Matt S Trout [Sat, 28 Jul 2007 10:05:18 +0000 (10:05 +0000)]
Declare.xs

index 0dec6a0..bbff3fd 100644 (file)
@@ -234,7 +234,7 @@ STATIC OP *dd_ck_lineseq(pTHX_ OP *o) {
   SV** to_inject_ref;
   int i, pad_inject_list_last;
 
-  o = dd_old_ck_lineseq(o);
+  o = dd_old_ck_lineseq(aTHX_ o);
 
   pad_inject_list = get_av("Devel::Declare::next_pad_inject", FALSE);
   if (!pad_inject_list)