summaryrefslogtreecommitdiff
path: root/opcode.pl
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-06-02 04:47:10 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-06-02 04:47:10 +0000
commit20ce7b12268a3d32b5b246928de5084322e709cf (patch)
tree395ce45dee07dabd92553cbcdad9b91e37e8ae49 /opcode.pl
parent0221c164222f9d91820826506118f46ffa08dd46 (diff)
downloadperl-20ce7b12268a3d32b5b246928de5084322e709cf.tar.gz
remove _() non-ansism
p4raw-id: //depot/perl@3518
Diffstat (limited to 'opcode.pl')
-rwxr-xr-xopcode.pl14
1 files changed, 7 insertions, 7 deletions
diff --git a/opcode.pl b/opcode.pl
index c763675864..2733cbe9f2 100755
--- a/opcode.pl
+++ b/opcode.pl
@@ -82,8 +82,8 @@ START_EXTERN_C
#undef PERL_CKDEF
#undef PERL_PPDEF
-#define PERL_CKDEF(s) OP *s _((OP *o));
-#define PERL_PPDEF(s) OP *s _((ARGSproto));
+#define PERL_CKDEF(s) OP *s (OP *o);
+#define PERL_PPDEF(s) OP *s (ARGSproto);
#include "pp_proto.h"
@@ -92,13 +92,13 @@ END
# Emit function declarations.
#for (sort keys %ckname) {
-# print "OP *\t", &tab(3,$_),"_((OP* o));\n";
+# print "OP *\t", &tab(3,$_),"(OP* o);\n";
#}
#
#print "\n";
#
#for (@ops) {
-# print "OP *\t", &tab(3, "pp_$_"), "_((ARGSproto));\n";
+# print "OP *\t", &tab(3, "pp_$_"), "(ARGSproto);\n";
#}
# Emit ppcode switch array.
@@ -128,9 +128,9 @@ END
print <<END;
#ifndef DOINIT
-EXT OP * (CPERLscope(*PL_check)[]) _((OP *op));
+EXT OP * (CPERLscope(*PL_check)[]) (OP *op);
#else
-EXT OP * (CPERLscope(*PL_check)[]) _((OP *op)) = {
+EXT OP * (CPERLscope(*PL_check)[]) (OP *op) = {
END
for (@ops) {
@@ -219,7 +219,7 @@ open PPSYM, '>pp.sym' or die "Error creating pp.sym: $!";
for (sort keys %ckname) {
print PP "PERL_CKDEF($_)\n";
-#OP *\t", &tab(3,$_),"_((OP* o));\n";
+#OP *\t", &tab(3,$_),"(OP* o);\n";
}
print PP "\n\n";