Skip to content

Commit 8d09775

Browse files
committed
json-parser: count defects in error msgs starting with 1
... to be consistent with cshtml's numbering of defects
1 parent 43ae0e8 commit 8d09775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json-parser.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct JsonParser::Private {
4949
silent(silent_),
5050
jsonValid(false),
5151
hasError(false),
52-
defNumber(-1)
52+
defNumber(0)
5353
{
5454
}
5555

0 commit comments

Comments
 (0)