This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c: Simplify macro for length-1 variable names
authorKarl Williamson <khw@cpan.org>
Sun, 19 Oct 2014 15:42:25 +0000 (09:42 -0600)
committerKarl Williamson <khw@cpan.org>
Tue, 21 Oct 2014 15:26:51 +0000 (09:26 -0600)
commitde1631081e2407e5021257de0eb1de20ad1534ca
tree92988c625c46e67a5b262492f9bb7b5f107dfd22
parent3027a07d5f585cc9ab5e9c0c08df9f73a758e86b
toke.c: Simplify macro for length-1 variable names

It turns out that any non-NUL, non-space ASCII character that gets this
far in the program is a valid length-1 variable.  So, can simplify the
expression in the macro that tests for legal ones.
t/uni/variables.t
toke.c