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 committed Mar 17, 2016
1 parent 4e222f3 commit 62cb189
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 @@ -499,7 +499,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 62cb189

Please sign in to comment.