Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -3234,7 +3234,7 @@ yaml_parser_scan_flow_scalar(yaml_parser_t *parser, yaml_token_t *token,
for (k = 0; k < code_length; k ++) {
if (!IS_HEX_AT(parser->buffer, k)) {
yaml_parser_set_scanner_error(parser, "while parsing a quoted scalar",
start_mark, "did not find expected hexdecimal number");
start_mark, "did not find expected hexadecimal number");
goto error;
}
value = (value << 4) + AS_HEX_AT(parser->buffer, k);
Expand Down
2 changes: 1 addition & 1 deletion tests/example-deconstructor-alt.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ main(int argc, char *argv[])

if (!yaml_emitter_initialize(&emitter)) {
yaml_parser_delete(&parser);
fprintf(stderr, "Could not inialize the emitter object\n");
fprintf(stderr, "Could not initialize the emitter object\n");
return 1;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/example-deconstructor.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ main(int argc, char *argv[])

if (!yaml_emitter_initialize(&emitter)) {
yaml_parser_delete(&parser);
fprintf(stderr, "Could not inialize the emitter object\n");
fprintf(stderr, "Could not initialize the emitter object\n");
return 1;
}

Expand Down