diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-03 00:58:07 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-19 18:20:40 +0900 |
commit | 52907c07c49b7b820924773d596c5eec5eaf7469 (patch) | |
tree | 2f72c09e50d916bbd86fa62c4276d6fae2da817f /scripts/kconfig/parser.y | |
parent | d3d16228a520ce49884d3bb90b67c12726c63020 (diff) |
kconfig: replace current_pos with separate cur_{filename,lineno}
Replace current_pos with separate variables representing the file name
and the line number, respectively.
No functional change is intended.
By the way, you might wonder why the "<none>" fallback exists in
zconf_curname(). menu_add_symbol() saves the current file and the line
number. It is intended to be called only during the yyparse() time.
However, menu_finalize() calls it, where there is no file being parsed.
This is a long-standing hack that should be fixed later. I left a FIXME
comment.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/parser.y')
0 files changed, 0 insertions, 0 deletions