diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-03 00:58:13 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-19 18:20:40 +0900 |
commit | 4ff7ceae83bea6afcd0325b88e3f3d9f168cc432 (patch) | |
tree | 28ad2f97d5bd99b0d60da74091b4c1284d22d7f6 /scripts/kconfig/lexer.l | |
parent | d3e4a68fe20f3c05de77f5e300e3d76a9f68d942 (diff) | |
download | lwn-4ff7ceae83bea6afcd0325b88e3f3d9f168cc432.tar.gz lwn-4ff7ceae83bea6afcd0325b88e3f3d9f168cc432.zip |
kconfig: replace remaining current_file->name with cur_filename
Replace the remaining current_file->name in the lexer context.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/lexer.l')
-rw-r--r-- | scripts/kconfig/lexer.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/lexer.l b/scripts/kconfig/lexer.l index 28e279cd5a22..db2397c4e343 100644 --- a/scripts/kconfig/lexer.l +++ b/scripts/kconfig/lexer.l @@ -84,7 +84,7 @@ static void warn_ignored_character(char chr) { fprintf(stderr, "%s:%d:warning: ignoring unsupported character '%c'\n", - current_file->name, yylineno, chr); + cur_filename, yylineno, chr); } %} @@ -253,7 +253,7 @@ n [A-Za-z0-9_-] if (prev_token != T_EOL && prev_token != T_HELPTEXT) fprintf(stderr, "%s:%d:warning: no new line at end of file\n", - current_file->name, yylineno); + cur_filename, yylineno); if (current_file) { zconf_endfile(); |