diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2005-11-09 00:34:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:55:54 -0500 |
commit | 3370f9f0d9c7d14bf71aab27fa45c0537f130614 (patch) | |
tree | d1fb9b98aabf5fb6dd4e68c1dc69eb345f0c7f60 /scripts/kconfig/zconf.gperf | |
parent | 7a88488bbc231e48a4a88ee2569bc0cc5d706f0a (diff) |
[PATCH] kconfig: simplify symbol type parsing
This simplifies the parser a bit by merging the various symbol types into a
single token and adds the type to the keyword hash.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/kconfig/zconf.gperf')
-rw-r--r-- | scripts/kconfig/zconf.gperf | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/scripts/kconfig/zconf.gperf b/scripts/kconfig/zconf.gperf index c9d81cf5d7fb..b03220600b3a 100644 --- a/scripts/kconfig/zconf.gperf +++ b/scripts/kconfig/zconf.gperf | |||
@@ -25,17 +25,17 @@ endif, T_ENDIF, TF_COMMAND | |||
25 | depends, T_DEPENDS, TF_COMMAND | 25 | depends, T_DEPENDS, TF_COMMAND |
26 | requires, T_REQUIRES, TF_COMMAND | 26 | requires, T_REQUIRES, TF_COMMAND |
27 | optional, T_OPTIONAL, TF_COMMAND | 27 | optional, T_OPTIONAL, TF_COMMAND |
28 | default, T_DEFAULT, TF_COMMAND | 28 | default, T_DEFAULT, TF_COMMAND, S_UNKNOWN |
29 | prompt, T_PROMPT, TF_COMMAND | 29 | prompt, T_PROMPT, TF_COMMAND |
30 | tristate, T_TRISTATE, TF_COMMAND | 30 | tristate, T_TYPE, TF_COMMAND, S_TRISTATE |
31 | def_tristate, T_DEF_TRISTATE, TF_COMMAND | 31 | def_tristate, T_DEFAULT, TF_COMMAND, S_TRISTATE |
32 | bool, T_BOOLEAN, TF_COMMAND | 32 | bool, T_TYPE, TF_COMMAND, S_BOOLEAN |
33 | boolean, T_BOOLEAN, TF_COMMAND | 33 | boolean, T_TYPE, TF_COMMAND, S_BOOLEAN |
34 | def_bool, T_DEF_BOOLEAN, TF_COMMAND | 34 | def_bool, T_DEFAULT, TF_COMMAND, S_BOOLEAN |
35 | def_boolean, T_DEF_BOOLEAN, TF_COMMAND | 35 | def_boolean, T_DEFAULT, TF_COMMAND, S_BOOLEAN |
36 | int, T_INT, TF_COMMAND | 36 | int, T_TYPE, TF_COMMAND, S_INT |
37 | hex, T_HEX, TF_COMMAND | 37 | hex, T_TYPE, TF_COMMAND, S_HEX |
38 | string, T_STRING, TF_COMMAND | 38 | string, T_TYPE, TF_COMMAND, S_STRING |
39 | select, T_SELECT, TF_COMMAND | 39 | select, T_SELECT, TF_COMMAND |
40 | enable, T_SELECT, TF_COMMAND | 40 | enable, T_SELECT, TF_COMMAND |
41 | range, T_RANGE, TF_COMMAND | 41 | range, T_RANGE, TF_COMMAND |