This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix minor flagging bug in op.c:fold_constants
authorFather Chrysostomos <sprout@cpan.org>
Sun, 15 Sep 2013 22:55:19 +0000 (15:55 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 16 Sep 2013 15:25:35 +0000 (08:25 -0700)
commit437463ee61bfcc252a038dfbbeb1cf4362532859
tree45166f9350e95f1c286f8ed6d4d8cddcc01e4ba7
parenta690c7c4d5d46f79e5f0409ff9f63de26e08fecb
Fix minor flagging bug in op.c:fold_constants

Nothing is making use of this in at present in the affected cases.
What this code does is mark an op as being folded so that 1+2 can
be distinguished from 3.  qq"foo" was erroneously being marked as
folded, unlike "foo".  Constant folding is part of the way that
quote-like operators are implemented.  Conceptually there is no
folding here, so we should pretend it did not happen.  This was a
partial cause of bug #116086.
op.c