From 9977462fd9d06167c3bf77e5c22c3c5efcb3aecd Mon Sep 17 00:00:00 2001 From: Dimitar Haralanov Date: Wed, 12 Jul 2023 14:52:21 +0200 Subject: [PATCH] [flori/json] Rename JSON::ParseError to JSON:ParserError https://github.com/flori/json/commit/20b80ca317 --- ext/json/parser/parser.c | 2 +- ext/json/parser/parser.rl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/json/parser/parser.c b/ext/json/parser/parser.c index 9bd7f1971e..9f616b34d2 100644 --- a/ext/json/parser/parser.c +++ b/ext/json/parser/parser.c @@ -2958,7 +2958,7 @@ static const char MAYBE_UNUSED(_JSON_nfa_pop_trans)[] = { * * Parses the current JSON text _source_ and returns the complete data * structure as a result. -* It raises JSON::ParseError if fail to parse. +* It raises JSON::ParserError if fail to parse. */ static VALUE cParser_parse(VALUE self) { diff --git a/ext/json/parser/parser.rl b/ext/json/parser/parser.rl index 2dbdc7ef24..7616e197d0 100644 --- a/ext/json/parser/parser.rl +++ b/ext/json/parser/parser.rl @@ -847,7 +847,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self) * * Parses the current JSON text _source_ and returns the complete data * structure as a result. - * It raises JSON::ParseError if fail to parse. + * It raises JSON::ParserError if fail to parse. */ static VALUE cParser_parse(VALUE self) {