This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9889e3d
)
Remove spurious case of warning "Use of %s without parentheses is ambiguous"
author
Rafael Garcia-Suarez
<rgs@consttype.org>
Sun, 20 Dec 2009 21:38:53 +0000
(22:38 +0100)
committer
Rafael Garcia-Suarez
<rgs@consttype.org>
Sun, 20 Dec 2009 21:38:53 +0000
(22:38 +0100)
Eric Brine pointed out that this warning doesn't apply to ".",
as in C<rand . 1>, that shouldn't warn since C<. 1> cannot be
mistaken for a floating point number.
toke.c
patch
|
blob
|
blame
|
history
diff --git
a/toke.c
b/toke.c
index
19241c4
..
cec8ac2
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-5642,8
+5642,6
@@
Perl_yylex(pTHX)
pl_yylval.ival = 0;
OPERATOR(DOTDOT);
}
- if (PL_expect != XOPERATOR)
- check_uni();
Aop(OP_CONCAT);
}
/* FALL THROUGH */