kconfig: refactor lexer and parser code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest27 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/27 | kconfig: fix infinite loop when expanding a macro at the end of filescripts/ | +5 | 0 replies | |
| 2/27 | kconfig: fix off-by-one in zconf_error()scripts/ | +1 | 0 replies | |
| 3/27 | kconfig: remove orphan lookup_file() declarationscripts/ | +0 | 0 replies | |
| 4/27 | kconfig: remove compat_getline()scripts/ | +1 | 0 replies | |
| 5/27 | kconfig: remove unneeded sym_find() call in conf_parse()scripts/ | +1 | 0 replies | |
| 6/27 | kconfig: write Kconfig files to autoconf.cmd in orderscripts/ scripts/ scripts/ +1 more | +11 | 0 replies | |
| 7/27 | kconfig: call env_write_dep() right after yyparse()scripts/ scripts/ scripts/ +1 more | +18 | 0 replies | |
| 8/27 | kconfig: split preprocessor prototypes into preprocess.hscripts/ scripts/ scripts/ +2 more | +23 | 0 replies | |
| 9/27 | kconfig: replace current_pos with separate cur_{filename,lineno}scripts/ | +17 | 0 replies | |
| 10/27 | kconfig: remove zconf_curname() and zconf_lineno()scripts/ scripts/ scripts/ +2 more | +37 | 0 replies | |
| 11/27 | kconfig: associate struct menu with file name directlyscripts/ scripts/ scripts/ +2 more | +10 | 0 replies | |
| 12/27 | kconfig: associate struct property with file name directlyscripts/ scripts/ scripts/ | +9 | 0 replies | |
| 13/27 | kconfig: replace file->name with name in zconf_nextfile()scripts/ | +5 | 0 replies | |
| 14/27 | kconfig: do not delay the cur_filename updatescripts/ scripts/ | +15 | 0 replies | |
| 15/27 | kconfig: replace remaining current_file->name with cur_filenamescripts/ scripts/ | +6 | 0 replies | |
| 16/27 | kconfig: move the file and lineno in struct file to struct bufferscripts/ scripts/ scripts/ | +22 | 0 replies | |
| 17/27 | kconfig: make file::name a flexible array memberscripts/ scripts/ | +6 | 0 replies | |
| 18/27 | kconfig: change file_lookup() to return the file namescripts/ scripts/ scripts/ +2 more | +13 | 0 replies | |
| 19/27 | kconfig: split list_head into a separate headerscripts/ scripts/ scripts/ +3 more | +15 | 0 replies | |
| 20/27 | kconfig: resync list.hscripts/ | +121 | 0 replies | |
| 21/27 | kconfig: import more list macros and inline functionsscripts/ scripts/ | +77 | 0 replies | |
| 22/27 | kconfig: add macros useful for hashtablescripts/ | +48 | 0 replies | |
| 23/27 | kconfig: move ARRAY_SIZE to a headerscripts/ scripts/ | +12 | 0 replies | |
| 24/27 | kconfig: move strhash() to a headerscripts/ scripts/ | +16 | 0 replies | |
| 25/27 | kconfig: convert linked list of files to hash tablescripts/ | +12 | 0 replies | |
| 26/27 | kconfig: use generic macros to implement symbol hashtablescripts/ scripts/ scripts/ +4 more | +43 | 0 replies | |
| 27/27 | kconfig: do not imply the type of choice valuescripts/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/27] kconfig: refactor lexer and parser code
Random fixes, cleanups, etc.
Masahiro Yamada (27):
kconfig: fix infinite loop when expanding a macro at the end of file
kconfig: fix off-by-one in zconf_error()
kconfig: remove orphan lookup_file() declaration
kconfig: remove compat_getline()
kconfig: remove unneeded sym_find() call in conf_parse()
kconfig: write Kconfig files to autoconf.cmd in order
kconfig: call env_write_dep() right after yyparse()
kconfig: split preprocessor prototypes into preprocess.h
kconfig: replace current_pos with separate cur_{filename,lineno}
kconfig: remove zconf_curname() and zconf_lineno()
kconfig: associate struct menu with file name directly
kconfig: associate struct property with file name directly
kconfig: replace file->name with name in zconf_nextfile()
kconfig: do not delay the cur_filename update
kconfig: replace remaining current_file->name with cur_filename
kconfig: move the file and lineno in struct file to struct buffer
kconfig: make file::name a flexible array member
kconfig: change file_lookup() to return the file name
kconfig: split list_head into a separate header
kconfig: resync list.h
kconfig: import more list macros and inline functions
kconfig: add macros useful for hashtable
kconfig: move ARRAY_SIZE to a header
kconfig: move strhash() to a header
kconfig: convert linked list of files to hash table
kconfig: use generic macros to implement symbol hashtable
kconfig: do not imply the type of choice value
scripts/kconfig/array_size.h | 11 ++ scripts/kconfig/conf.c | 12 +- scripts/kconfig/confdata.c | 91 +++---------- scripts/kconfig/expr.h | 24 +--- scripts/kconfig/hashtable.h | 48 +++++++ scripts/kconfig/internal.h | 12 ++ scripts/kconfig/lexer.l | 100 +++++++------- scripts/kconfig/list.h | 254 ++++++++++++++++++++++++++--------- scripts/kconfig/list_types.h | 17 +++ scripts/kconfig/lkc.h | 5 +- scripts/kconfig/lkc_proto.h | 15 --- scripts/kconfig/mconf.c | 1 + scripts/kconfig/menu.c | 24 ++-- scripts/kconfig/nconf.c | 1 + scripts/kconfig/parser.y | 92 +++++++------ scripts/kconfig/preprocess.c | 23 ++-- scripts/kconfig/preprocess.h | 19 +++ scripts/kconfig/qconf.cc | 2 +- scripts/kconfig/symbol.c | 46 +++---- scripts/kconfig/util.c | 38 ++++-- scripts/kconfig/util.h | 15 +++ 21 files changed, 511 insertions(+), 339 deletions(-) create mode 100644 scripts/kconfig/array_size.h create mode 100644 scripts/kconfig/hashtable.h create mode 100644 scripts/kconfig/list_types.h create mode 100644 scripts/kconfig/preprocess.h create mode 100644 scripts/kconfig/util.h
Signature · 1 line
2.40.1