diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-11 14:01:01 +0300 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-21 18:25:52 +0300 |
commit | c3d228713b10e6dd1bd44853168cec8e23ae7e0f (patch) | |
tree | 199226be6fababdd0bc090b60149eca39f3604c4 /sound/pci/ctxfi/ctdaio.h | |
parent | ce2164ab58316e27180034112f97608a764f5b37 (diff) | |
download | linux-c3d228713b10e6dd1bd44853168cec8e23ae7e0f.tar.xz |
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 'sound/pci/ctxfi/ctdaio.h')
0 files changed, 0 insertions, 0 deletions