зеркало из https://github.com/github/ruby.git
[flori/json] Rename JSON::ParseError to JSON:ParserError
https://github.com/flori/json/commit/20b80ca317
This commit is contained in:
Родитель
b368990ce6
Коммит
9977462fd9
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче