kconfig: update current_pos in the second lexer
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 11 Dec 2018 11:01:09 +0000 (20:01 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 21 Dec 2018 15:25:56 +0000 (00:25 +0900)
commit4b31a32caf0a28e4726f1bf267ff8a804ed864e2
treedae9a7d23fc26f0ce97cafe4311b4f8d74c78d92
parent824fa3b3b5e3647de0530328e8734c24418eec49
kconfig: update current_pos in the second lexer

To simplify the generated lexer, let the hand-made lexer update the
file name and line number for the parser.

I tested this with DEBUG_PARSE, and confirmed the same file names
and line numbers were dumped.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/zconf.l