This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Deal with "\c{", and its kin
authorKarl Williamson <khw@khw-desktop.(none)>
Tue, 20 Apr 2010 02:16:50 +0000 (20:16 -0600)
committerRafael Garcia-Suarez <rgs@consttype.org>
Mon, 26 Apr 2010 08:20:09 +0000 (10:20 +0200)
commitf9d1352942831df20889dc83ce32232f9c13590f
tree7e8f2112c8428c041dfbb5bc7b1244e89dd722f0
parent353c9b6f16dec626f888894e7df6f8819303bd11
Deal with "\c{", and its kin

make regen is needed

This patch forbids non-ascii following the "\c".  It also terminates for
"\c{" with a message to contact p5p if there is need for continuing its
current definition.  And if the character following the "\c" causes the
result to not be a control character, a warning is issued.  This is
currently 'deprecated', which by default is turned on.  This can easily
be changed later.

This patch is the initial patch.  It does not do any fancy showing the
context where the problematic construct occurs.  This can be added
later.

It gathers the 3 occurrences of evaluating \c and puts them in one
common routine.
embed.fnc
pod/perldiag.pod
regcomp.c
t/op/qq.t
t/porting/diag.t
toke.c
util.c