summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/parser.y
Commit message (Collapse)AuthorAgeFilesLines
* kconfig: remove sym from struct propertyMasahiro Yamada2020-01-071-1/+1
| | | | | | | | | struct property can reference to the symbol that it is associated with by prop->menu->sym. Fix up the one usage of prop->sym, and remove sym from struct property. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
* kconfig: remove 'prompt' symbolMasahiro Yamada2020-01-071-10/+7
| | | | | | | Now that 'prompt' is only reduced from T_WORD_QUOTE without any action, use T_WORD_QUOTE directly. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
* kconfig: drop T_WORD from the RHS of 'prompt' symbolMasahiro Yamada2020-01-071-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Commit 8636a1f9677d ("treewide: surround Kconfig file paths with double quotes") killed use-cases to reduce an unquoted string into the 'prompt' symbol. Kconfig still allows to use an unquoted string in the context of menu, source, or prompt. So, you can omit quoting if the prompt is a single word: bool foo ..., but I do not think this is so useful. Let's require quoting: bool "foo" All the Kconfig files in the kernel are written in this way. Remove the T_WORD from the right-hand side of the symbol 'prompt'. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
* kconfig: split util.c out of parser.yMasahiro Yamada2019-11-111-1/+0
| | | | | | | | | | | | util.c exists both in scripts/kconfig/ and scripts/kconfig/lxdialog. Prior to commit 54b8ae66ae1a ("kbuild: change *FLAGS_<basetarget>.o to take the path relative to $(obj)"), Kbuild could not pass different flags to source files with the same basename. Now that this issue was solved, you can split util.c out of parser.y and compile them independently of each other. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
* kconfig: rename zconf.y to parser.yMasahiro Yamada2019-02-131-0/+731
Use a more logical name. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>