diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-07-23 13:58:23 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-07-23 13:58:23 -0400 |
commit | bff8a47c7872d34f41a22573dcf9cea0497c8ecc (patch) | |
tree | 868decc401a268a8c3bdd6cfa565ee391ee7b436 /Keyword.xs | |
parent | 310ba62c846379ad914942e36b9111084a364899 (diff) | |
download | parse-keyword-bff8a47c7872d34f41a22573dcf9cea0497c8ecc.tar.gz parse-keyword-bff8a47c7872d34f41a22573dcf9cea0497c8ecc.zip |
actually, don't throw an error
Diffstat (limited to 'Keyword.xs')
-rw-r--r-- | Keyword.xs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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)) { |