This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c: Allow \N{} handling fcn to be used elsewhere in core
authorKarl Williamson <khw@cpan.org>
Thu, 12 Jan 2017 21:50:26 +0000 (14:50 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 14 Mar 2019 00:17:55 +0000 (18:17 -0600)
commit25c7fb78daaad4f8ca1aaa9e19d6db99366388c7
tree43180de5c4f20effcdf1318af3da54dbc65a033c
parent2c43c309caa1db7b713cc5d1bed58a8f534d977b
toke.c: Allow \N{} handling fcn to be used elsewhere in core

This function will be used in regcomp.c in a later commit.  This commit
changes the function so that it is callable outside of toke.c.  It adds
a parameter and moves some code in new_constant to the wrapper function
so that these do not cause problems when called from outside toke.  And
it adds some assertions
embed.fnc
embed.h
proto.h
toke.c