summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-12-27 14:52:21 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-12-28 22:58:52 -0800
commitdcbac5bbcda3f6b893eade5bc95878a443cbe563 (patch)
tree8e69379c182533f93148eb4a6dc7ed69d197cdb1 /pp.c
parent6ad282c70d80576d5d66b25af19780fde18afd42 (diff)
downloadperl-dcbac5bbcda3f6b893eade5bc95878a443cbe563.tar.gz
diag_listed_as galore
In two instances, I actually modified to code to avoid %s for a constant string, as it should be faster that way.
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp.c b/pp.c
index f477f6a0a4..eaf6a85277 100644
--- a/pp.c
+++ b/pp.c
@@ -2715,6 +2715,7 @@ PP(pp_sin)
if (neg_report) {
if (op_type == OP_LOG ? (value <= 0.0) : (value < 0.0)) {
SET_NUMERIC_STANDARD();
+ /* diag_listed_as: Can't take log of %g */
DIE(aTHX_ "Can't take %s of %"NVgf, neg_report, value);
}
}