summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-13 10:54:34 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-10-13 10:54:34 +0200
commitaa43ee0ad84a65efd0415621d5234cfcadf9bed3 (patch)
treec02230f7e2e68de2753fcffc0c6f22f64f282e2a
parent07ec3c3778d7d57f6fa8055103a499e91b8d5ebb (diff)
trafgen: Adjust syntax error message
Make it more readable. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--trafgen_parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen_parser.y b/trafgen_parser.y
index ee3d476..df234f4 100644
--- a/trafgen_parser.y
+++ b/trafgen_parser.y
@@ -626,5 +626,5 @@ int compile_packets(char *file, int verbose, int cpu, bool invoke_cpp)
void yyerror(const char *err)
{
- panic("Syntax error at line%d, at char '%s'! %s!\n", yylineno, yytext, err);
+ panic("Syntax error at line %d, char '%s': %s\n", yylineno, yytext, err);
}