This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
op.h: Correct PERL_LOADMOD_IMPORT_OPS comment
authorFather Chrysostomos <sprout@cpan.org>
Sat, 6 Sep 2014 03:30:01 +0000 (20:30 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 6 Sep 2014 23:26:28 +0000 (16:26 -0700)
This description, added in ec6d81aba, is misleading.

op.h

diff --git a/op.h b/op.h
index 6070326..1b247ce 100644 (file)
--- a/op.h
+++ b/op.h
@@ -687,7 +687,10 @@ struct loop {
 /* flags used by Perl_load_module() */
 #define PERL_LOADMOD_DENY              0x1     /* no Module */
 #define PERL_LOADMOD_NOIMPORT          0x2     /* use Module () */
-#define PERL_LOADMOD_IMPORT_OPS                0x4     /* use Module (...) */
+#define PERL_LOADMOD_IMPORT_OPS                0x4     /* import arguments
+                                                  are passed as a sin-
+                                                  gle op tree, not a
+                                                  list of SVs */
 
 #if defined(PERL_IN_PERLY_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_TOKE_C)
 #define ref(o, type) doref(o, type, TRUE)