Add pp_lock knowledge to compiler
Malcolm Beattie [Wed, 29 Oct 1997 12:45:32 +0000 (12:45 +0000)]
p4raw-id: //depot/perlext/Compiler@188

ccop.c
ccop.h

diff --git a/ccop.c b/ccop.c
index 5481ea7..4d4ed85 100644 (file)
--- a/ccop.c
+++ b/ccop.c
@@ -542,6 +542,9 @@ static opclass (*ccopaddr[])_((OP *o)) = {
        cc_baseop,              /* egrent */
        cc_baseop,              /* getlogin */
        cc_listop,              /* syscall */
+#if PATCHLEVEL > 4 || (PATCHLEVEL == 4 && SUBVERSION > 50)
+       cc_baseop_or_unop,      /* lock */
+#endif
 };
 
 opclass
diff --git a/ccop.h b/ccop.h
index b6900b7..4665a0e 100644 (file)
--- a/ccop.h
+++ b/ccop.h
@@ -372,5 +372,8 @@ EXT char *ppnames[] = {
        "pp_egrent",
        "pp_getlogin",
        "pp_syscall",
+#if PATCHLEVEL > 4 || (PATCHLEVEL == 4 && SUBVERSION > 50)
+       "pp_lock",
+#endif
 };
 #endif