ambiguous unary ops when the following token is a hash identifier.
(like with scalars and arrays)
p4raw-id: //depot/perl@30387
Warning: Use of "rand" without parentheses is ambiguous at - line 10.
########
# toke.c
+use warnings "ambiguous";
+print for keys %+; # should not warn
+EXPECT
+########
+# toke.c
sub fred {};
-fred ;
EXPECT
Mop(OP_MODULO);
}
PL_tokenbuf[0] = '%';
- s = scan_ident(s, PL_bufend, PL_tokenbuf + 1, sizeof PL_tokenbuf - 1, TRUE);
+ s = scan_ident(s, PL_bufend, PL_tokenbuf + 1,
+ sizeof PL_tokenbuf - 1, FALSE);
if (!PL_tokenbuf[1]) {
PREREF('%');
}