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)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:32:21 +0000 (22:32 +0100)
commit7bbbd919c36e802ac66320b3ed1c212487ab3f2d
tree14fa8f90539d510748e3e6d9b445482cb1877077
parent904e8e395f2f16f92e567e958ef676053b2af90a
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/zconf.l