mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
Include the configuration file name when reporting parse errors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5649 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
6a7286464d
commit
0efe346b80
9 files changed
+65
-19
No files matched your search
+2
-2
@@ -332,10 +332,10 @@ chip_name: NAME
|
||||
void sensors_yyerror(const char *err)
|
||||
{
|
||||
if (sensors_lex_error[0]) {
|
||||
sensors_parse_error(sensors_lex_error,sensors_yylineno);
|
||||
sensors_parse_error_wfn(sensors_lex_error, sensors_yyfilename, sensors_yylineno);
|
||||
sensors_lex_error[0] = '\0';
|
||||
} else
|
||||
sensors_parse_error(err,sensors_yylineno);
|
||||
sensors_parse_error_wfn(err, sensors_yyfilename, sensors_yylineno);
|
||||
}
|
||||
|
||||
sensors_expr *malloc_expr(void)
|
||||
|
||||
Reference in new issue
Block a user