aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorDimitar Haralanov <dharalanov@me.com>2023-07-12 14:52:21 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-07-18 12:25:54 +0900
commit9977462fd9d06167c3bf77e5c22c3c5efcb3aecd (patch)
treed85a0ea7a9f11a5a5cde8b54126d94b0b145e380 /ext
parentb368990ce632aaa11581d3b8f9fa9fd77401121a (diff)
downloadruby-9977462fd9d06167c3bf77e5c22c3c5efcb3aecd.tar.gz
[flori/json] Rename JSON::ParseError to JSON:ParserError
https://github.com/flori/json/commit/20b80ca317
Diffstat (limited to 'ext')
-rw-r--r--ext/json/parser/parser.c2
-rw-r--r--ext/json/parser/parser.rl2
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)
{