summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgs@consttype.org>2009-12-20 22:38:53 +0100
committerRafael Garcia-Suarez <rgs@consttype.org>2009-12-20 22:38:53 +0100
commit29e9f6fc0007eb3d3a2204ef8f93ec3d58645d81 (patch)
tree50deb7d44e578298aad8c0884372ade08f5afc66
parent9889e3de1462a5f5e211eb6898ded8780ab669e5 (diff)
downloadperl-29e9f6fc0007eb3d3a2204ef8f93ec3d58645d81.tar.gz
Remove spurious case of warning "Use of %s without parentheses is ambiguous"
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.
-rw-r--r--toke.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index 19241c401f..cec8ac2903 100644
--- 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 */