perl 5.0 alpha 4
[p5sagit/p5-mst-13.2.git] / pp.h
diff --git a/pp.h b/pp.h
index 570633f..d6a1c4c 100644 (file)
--- a/pp.h
+++ b/pp.h
@@ -20,7 +20,7 @@
  **********************************************************/
 
 #define ARGS
-#define ARGSproto
+#define ARGSproto void
 #define dARGS
 #define PP(s) OP* s(ARGS) dARGS
 
 #define RETURNX(x)     return x, PUTBACK, NORMAL
 
 #define POPs           (*sp--)
-#define POPp           (SvPVnx(POPs))
-#define POPn           (SvNVnx(POPs))
-#define POPi           ((int)SvIVnx(POPs))
-#define POPl           ((long)SvIVnx(POPs))
+#define POPp           (SvPVx(POPs, na))
+#define POPn           (SvNVx(POPs))
+#define POPi           ((int)SvIVx(POPs))
+#define POPl           ((long)SvIVx(POPs))
 
 #define TOPs           (*sp)
-#define TOPp           (SvPVn(TOPs))
-#define TOPn           (SvNVn(TOPs))
-#define TOPi           ((int)SvIVn(TOPs))
-#define TOPl           ((long)SvIVn(TOPs))
+#define TOPp           (SvPV(TOPs, na))
+#define TOPn           (SvNV(TOPs))
+#define TOPi           ((int)SvIV(TOPs))
+#define TOPl           ((long)SvIV(TOPs))
 
 /* Go to some pains in the rare event that we must extend the stack. */
 #define EXTEND(p,n)    do { if (stack_max - p < (n)) {                     \