Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
rapidjson
Commits
b4df7176
Commit
b4df7176
authored
Jun 27, 2014
by
Milo Yip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes grammar mistakes in error messages.
parent
3693d61f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
en.h
include/rapidjson/error/en.h
+2
-2
reader.h
include/rapidjson/reader.h
+2
-2
No files found.
include/rapidjson/error/en.h
View file @
b4df7176
...
...
@@ -19,7 +19,7 @@ inline const RAPIDJSON_ERROR_CHARTYPE* GetParseError_En(ParseErrorCode parseErro
case
kParseErrorObjectMissColon
:
return
RAPIDJSON_ERROR_STRING
(
"Missing a colon after a name of object member."
);
case
kParseErrorObjectMissCommaOrCurlyBracket
:
return
RAPIDJSON_ERROR_STRING
(
"Missing a comma or '}' after an object member."
);
case
kParseErrorArrayMissCommaOrSquareBracket
:
return
RAPIDJSON_ERROR_STRING
(
"M
ust be
a comma or ']' after an array element."
);
case
kParseErrorArrayMissCommaOrSquareBracket
:
return
RAPIDJSON_ERROR_STRING
(
"M
issing
a comma or ']' after an array element."
);
case
kParseErrorStringUnicodeEscapeInvalidHex
:
return
RAPIDJSON_ERROR_STRING
(
"Incorrect hex digit after
\\
u escape in string."
);
case
kParseErrorStringUnicodeSurrogateInvalid
:
return
RAPIDJSON_ERROR_STRING
(
"The surrogate pair in string is invalid."
);
...
...
@@ -27,7 +27,7 @@ inline const RAPIDJSON_ERROR_CHARTYPE* GetParseError_En(ParseErrorCode parseErro
case
kParseErrorStringMissQuotationMark
:
return
RAPIDJSON_ERROR_STRING
(
"Missing a closing quotation mark in string."
);
case
kParseErrorStringInvalidEncoding
:
return
RAPIDJSON_ERROR_STRING
(
"Invalid encoidng in string."
);
case
kParesErrorNumberTooBig
:
return
RAPIDJSON_ERROR_STRING
(
"Number too big to
store
in double."
);
case
kParesErrorNumberTooBig
:
return
RAPIDJSON_ERROR_STRING
(
"Number too big to
be stored
in double."
);
case
kParseErrorNumberMissFraction
:
return
RAPIDJSON_ERROR_STRING
(
"Miss fraction part in number."
);
case
kParseErrorNumberMissExponent
:
return
RAPIDJSON_ERROR_STRING
(
"Miss exponent in number."
);
...
...
include/rapidjson/reader.h
View file @
b4df7176
...
...
@@ -64,7 +64,7 @@ enum ParseErrorCode {
kParseErrorObjectMissColon
,
//!< Missing a colon after a name of object member.
kParseErrorObjectMissCommaOrCurlyBracket
,
//!< Missing a comma or '}' after an object member.
kParseErrorArrayMissCommaOrSquareBracket
,
//!< M
ust be
a comma or ']' after an array element.
kParseErrorArrayMissCommaOrSquareBracket
,
//!< M
issing
a comma or ']' after an array element.
kParseErrorStringUnicodeEscapeInvalidHex
,
//!< Incorrect hex digit after \\u escape in string.
kParseErrorStringUnicodeSurrogateInvalid
,
//!< The surrogate pair in string is invalid.
...
...
@@ -72,7 +72,7 @@ enum ParseErrorCode {
kParseErrorStringMissQuotationMark
,
//!< Missing a closing quotation mark in string.
kParseErrorStringInvalidEncoding
,
//!< Invalid encoidng in string.
kParesErrorNumberTooBig
,
//!< Number too big to
store
in double.
kParesErrorNumberTooBig
,
//!< Number too big to
be stored
in double.
kParseErrorNumberMissFraction
,
//!< Miss fraction part in number.
kParseErrorNumberMissExponent
//!< Miss exponent in number.
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment