Print error message and location of unknown tokens in config files

This commit is contained in:
stefanrueger
2023-12-22 00:25:43 +13:00
parent 06156d9c33
commit 5fffedddf9

View File

@@ -280,7 +280,7 @@ c: { yyerror("possible old-style config file entry\n"
"/avrdude.conf.sample for a sample)");
return YYERRCODE; }
. { return YYERRCODE; }
. { yyerror("unknown token");
return YYERRCODE; }
%%