diff options
author | Kirill Simonov <xi@resolvent.net> | 2006-08-01 11:28:16 +0000 |
---|---|---|
committer | Kirill Simonov <xi@resolvent.net> | 2006-08-01 11:28:16 +0000 |
commit | 028f3e8709fdd7574f34aa19dd600777a7d86289 (patch) | |
tree | 6ee1b7f2db7967970dbaac9852970c0560f6c03c /tests/example-deconstructor.c | |
parent | 2a02dfd2625480af0f2b48664c46dab20ea799da (diff) | |
download | libyaml-git-028f3e8709fdd7574f34aa19dd600777a7d86289.tar.gz |
Prepare the initial release.0.0.1
Diffstat (limited to 'tests/example-deconstructor.c')
-rw-r--r-- | tests/example-deconstructor.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/example-deconstructor.c b/tests/example-deconstructor.c index d41b5ae..57e6693 100644 --- a/tests/example-deconstructor.c +++ b/tests/example-deconstructor.c @@ -1046,14 +1046,14 @@ parser_error: if (parser.context) { fprintf(stderr, "Scanner error: %s at line %d, column %d\n" "%s at line %d, column %d\n", parser.context, - parser.context_mark.line, parser.context_mark.column, - parser.problem, parser.problem_mark.line, - parser.problem_mark.column); + parser.context_mark.line+1, parser.context_mark.column+1, + parser.problem, parser.problem_mark.line+1, + parser.problem_mark.column+1); } else { fprintf(stderr, "Scanner error: %s at line %d, column %d\n", - parser.problem, parser.problem_mark.line, - parser.problem_mark.column); + parser.problem, parser.problem_mark.line+1, + parser.problem_mark.column+1); } break; @@ -1061,14 +1061,14 @@ parser_error: if (parser.context) { fprintf(stderr, "Parser error: %s at line %d, column %d\n" "%s at line %d, column %d\n", parser.context, - parser.context_mark.line, parser.context_mark.column, - parser.problem, parser.problem_mark.line, - parser.problem_mark.column); + parser.context_mark.line+1, parser.context_mark.column+1, + parser.problem, parser.problem_mark.line+1, + parser.problem_mark.column+1); } else { fprintf(stderr, "Parser error: %s at line %d, column %d\n", - parser.problem, parser.problem_mark.line, - parser.problem_mark.column); + parser.problem, parser.problem_mark.line+1, + parser.problem_mark.column+1); } break; |