From dcbac5bbcda3f6b893eade5bc95878a443cbe563 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Tue, 27 Dec 2011 14:52:21 -0800 Subject: 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. --- pp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pp.c') 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); } } -- cgit v1.2.1