This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Relax fatal circumstances of unescaped '{'
authorKarl Williamson <khw@cpan.org>
Wed, 31 May 2017 03:19:20 +0000 (21:19 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 1 Jun 2017 13:05:16 +0000 (07:05 -0600)
commit53fdf12aede2fd58b0c5ee236a58025184f49def
tree2d0278fcf9f332e3da1c1af17a6e64763220c9a2
parentd30277c7df69b4aca40edeb2ae3bf9bb529b01e8
Relax fatal circumstances of unescaped '{'

After the 5.26.0 code freeze, it came out that an application that many
others depend on, GNU Autoconf, has an unescaped '{' in it.  Commit
7335cb814c19345052a23bc4462c701ce734e6c5 created a kludge that was
minimal, and designed to get just that one application to work.

I originally proposed a less kludgy patch that was applicable across a
larger set of applications.  The proposed patch didn't fatalize uses
of unesacped '{' where we don't anticipate using it for something other
than its literal self.  That approach worked for Autoconf, but also far
more instances, but was more complicated, and was rejected as being too
risky during code freeze.

Now this commit implements my original suggestion.  I am putting it in
now, to let it soak in blead, in case something else surfaces besides
Autoconf, that we need to work around.  By having experience with the
patch live, we can be more confident about using it, if necessary, in a
dot release.
embed.fnc
embed.h
pod/perldelta.pod
proto.h
regcomp.c
t/re/reg_mesg.t