aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSES
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-11 20:01:01 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-22 00:25:52 +0900
commitc3d228713b10e6dd1bd44853168cec8e23ae7e0f (patch)
tree199226be6fababdd0bc090b60149eca39f3604c4 /LICENSES
parentkconfig: refactor scanning and parsing "option" properties (diff)
downloadlinux-dev-c3d228713b10e6dd1bd44853168cec8e23ae7e0f.tar.xz
linux-dev-c3d228713b10e6dd1bd44853168cec8e23ae7e0f.zip
kconfig: use specific tokens instead of T_ASSIGN for assignments
Currently, the lexer returns T_ASSIGN for all of =, :=, and += associating yylval with the flavor. I want to make the generated lexer as simple as possible. So, the lexer should convert keywords to tokens without thinking about the meaning. = -> T_EQUAL := -> T_COLON_EQUAL += -> T_PLUS_EQUAL Unfortunately, Kconfig uses = instead of == for the equal operator. So, the same token T_EQUAL is used for assignment and comparison. The parser can still distinguish them from the context. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions