Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Apr 8, 2024
1 parent 1e66c1e commit d2cd64c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit d2cd64c

Please sign in to comment.