From fd617465265ed0cd97256c819ae8e3e4cde70989 Mon Sep 17 00:00:00 2001 From: Dave Mitchell Date: Fri, 1 Jul 2005 15:40:40 +0000 Subject: the PAD_SET_CUR macro expanded too much for AIX compilers p4raw-id: //depot/perl@25042 --- pad.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pad.h') diff --git a/pad.h b/pad.h index b331ceab34..ce53b3b263 100644 --- a/pad.h +++ b/pad.h @@ -103,7 +103,12 @@ Get the value from slot C in the base (DEPTH=1) pad of a padlist =for apidoc m|void|PAD_SET_CUR |PADLIST padlist|I32 n Set the current pad to be pad C in the padlist, saving -the previous current pad. +the previous current pad. NB currently this macro expands to a string too +long for some compilers, so it's best to replace it with + + SAVECOMPPAD(); + PAD_SET_CUR_NOSAVE(padlist,n); + =for apidoc m|void|PAD_SET_CUR_NOSAVE |PADLIST padlist|I32 n like PAD_SET_CUR, but without the save -- cgit v1.2.1