Change 27423 by [EMAIL PROTECTED] on 2006/03/08 18:17:09
Change from Larry in the MAD code which seems to be unrelated to MAD.
Affected files ...
... //depot/perl/op.c#774 edit
Differences ...
==== //depot/perl/op.c#774 (text) ====
Index: perl/op.c
--- perl/op.c#773~27403~ 2006-03-07 09:09:54.000000000 -0800
+++ perl/op.c 2006-03-08 10:17:09.000000000 -0800
@@ -3561,7 +3561,9 @@
scalarboolean(first);
/* optimize "!a && b" to "a || b", and "!a || b" to "a && b" */
- if (first->op_type == OP_NOT && (first->op_flags & OPf_SPECIAL)) {
+ if (first->op_type == OP_NOT
+ && (first->op_flags & OPf_SPECIAL)
+ && (first->op_flags & OPf_KIDS)) {
if (type == OP_AND || type == OP_OR) {
if (type == OP_AND)
type = OP_OR;
End of Patch.