toke.c, S_scan_ident: Skip over newlines as well as spaces and tabs.
authorBrian Fraser <fraserbn@gmail.com>
Sun, 1 Sep 2013 13:51:31 +0000 (10:51 -0300)
committerBrian Fraser <fraserbn@gmail.com>
Wed, 18 Sep 2013 08:23:31 +0000 (05:23 -0300)
commitf7bd557bec80998b7095160ef08c951066c9afe3
tree793ab2eac73adc5a01abb069bad473d4ebf2fa2e
parent6a4ad6add6856e87d5efc5b7266b147c8e68ba8f
toke.c, S_scan_ident: Skip over newlines as well as spaces and tabs.

Not doing this lead to some bugs, such as 'eval "*{\nOIN}"'
returning a glob for "\nOIN" rather than just "OIN", or
'eval "\${\cT\n}"' giving spurious syntax errors.

Note however that this is not a full fix, since that latter
test case still fails outside of an eval.
t/uni/variables.t
toke.c