This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
(perl #132245) don't try to process a char range with no preceding char
authorTony Cook <tony@develop-help.com>
Wed, 18 Oct 2017 23:46:04 +0000 (10:46 +1100)
committerTony Cook <tony@develop-help.com>
Sun, 29 Oct 2017 23:37:32 +0000 (10:37 +1100)
commite8d55f27af460b2aea0e4f6867acad7ae6e154cc
treed8ccdb607bc938466610c29185241813067cc5d1
parent6e8135a4380966ca56b30d95854b54dc8d9c08d4
(perl #132245) don't try to process a char range with no preceding char

A range like \N{}-0 eventually results in compilation failing, but
before that, get_and_check_backslash_N_name() attempts to treat
the memory before the empty output of \N{} as a character.
t/lib/croak/toke
toke.c