From bff8a47c7872d34f41a22573dcf9cea0497c8ecc Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 23 Jul 2013 13:58:23 -0400 Subject: actually, don't throw an error --- Keyword.xs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Keyword.xs') diff --git a/Keyword.xs b/Keyword.xs index 8cfb87a..f811177 100644 --- a/Keyword.xs +++ b/Keyword.xs @@ -37,7 +37,9 @@ static SV *parser_fn(OP *(fn)(pTHX_ U32), bool named) LEAVE_PARSER; if (errors) { - croak_sv(ERRSV); + ++PL_parser->error_count; + sv_catsv(PL_errors, ERRSV); + return newSV(0); } else { if (CvCLONE(code)) { -- cgit v1.2.3-54-g00ecf