Skip to content

Commit

Permalink
Emit better errors from config file parser
Browse files Browse the repository at this point in the history
  • Loading branch information
darkk authored and semigodking committed Mar 7, 2017
1 parent 4253aa9 commit 2e7d093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ int parser_run(parser_context *context)
parser_error(context, "section->onenter failed");
}
else {
parser_error(context, "unknown section");
parser_error(context, "unknown section <%s>", section_token);
}
FREE(section_token);
}
Expand Down

0 comments on commit 2e7d093

Please sign in to comment.