Skip to content

Commit 20b80ca

Browse files
committed
Rename JSON::ParseError to JSON:ParserError
1 parent a877630 commit 20b80ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/json/ext/parser/parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2958,7 +2958,7 @@ static const char MAYBE_UNUSED(_JSON_nfa_pop_trans)[] = {
29582958
*
29592959
* Parses the current JSON text _source_ and returns the complete data
29602960
* structure as a result.
2961-
* It raises JSON::ParseError if fail to parse.
2961+
* It raises JSON::ParserError if fail to parse.
29622962
*/
29632963
static VALUE cParser_parse(VALUE self)
29642964
{

ext/json/ext/parser/parser.rl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self)
847847
*
848848
* Parses the current JSON text _source_ and returns the complete data
849849
* structure as a result.
850-
* It raises JSON::ParseError if fail to parse.
850+
* It raises JSON::ParserError if fail to parse.
851851
*/
852852
static VALUE cParser_parse(VALUE self)
853853
{

0 commit comments

Comments
 (0)