kconfig: fix file name and line number of warn_ignored_character()
[carl9170fw.git] / config / zconf.l
index d2d9d87bea6ea63bcfa6dec6b33b06ce4fad5289..112a0ee1b0a0c2c6c33354aa24f1ed708066a700 100644 (file)
@@ -73,7 +73,7 @@ static void warn_ignored_character(char chr)
 {
        fprintf(stderr,
                "%s:%d:warning: ignoring unsupported character '%c'\n",
-               zconf_curname(), zconf_lineno(), chr);
+               current_file->name, yylineno, chr);
 }
 %}