Skip to content

Commit

Permalink
Merge pull request #2553 from MaximeChretien/kconfig-parser
Browse files Browse the repository at this point in the history
Add Kconfig parser
  • Loading branch information
masatake committed May 26, 2020
2 parents 062b562 + 4ab2053 commit 0c78c0c
Show file tree
Hide file tree
Showing 16 changed files with 1,029 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tmain/extras-long.d/stdout-expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ p pseudo no NONE no Include pseudo tags
q qualified no NONE no Include an extra class-qualified tag entry for each tag
r reference no NONE no Include reference tags
s subparser yes NONE no Include tags generated by subparsers
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
- funcmap yes QemuHX no Include mapping SQMP to C function name
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
# enabling 1
Expand All @@ -18,6 +19,7 @@ p pseudo yes NONE no Include pseudo tags
q qualified no NONE no Include an extra class-qualified tag entry for each tag
r reference no NONE no Include reference tags
s subparser yes NONE no Include tags generated by subparsers
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
- funcmap yes QemuHX no Include mapping SQMP to C function name
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
# disabling 1
Expand All @@ -29,6 +31,7 @@ p pseudo yes NONE no Include pseudo tags
q qualified no NONE no Include an extra class-qualified tag entry for each tag
r reference no NONE no Include reference tags
s subparser yes NONE no Include tags generated by subparsers
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
- funcmap yes QemuHX no Include mapping SQMP to C function name
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
# combination
Expand All @@ -40,6 +43,7 @@ p pseudo yes NONE no Include pseudo tags
q qualified no NONE no Include an extra class-qualified tag entry for each tag
r reference yes NONE no Include reference tags
s subparser yes NONE no Include tags generated by subparsers
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
- funcmap yes QemuHX no Include mapping SQMP to C function name
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
# combination with letters
Expand All @@ -51,5 +55,6 @@ p pseudo yes NONE no Include pseudo tags
q qualified yes NONE no Include an extra class-qualified tag entry for each tag
r reference yes NONE no Include reference tags
s subparser yes NONE no Include tags generated by subparsers
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
- funcmap yes QemuHX no Include mapping SQMP to C function name
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
2 changes: 2 additions & 0 deletions Tmain/list-extras.d/stdout-expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ p pseudo yes NONE no Include pseudo tags
q qualified yes NONE no Include an extra class-qualified tag entry for each tag
r reference yes NONE no Include reference tags
s subparser yes NONE no Include tags generated by subparsers
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
- funcmap yes QemuHX no Include mapping SQMP to C function name
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
#LETTER NAME ENABLED LANGUAGE FIXED DESCRIPTION
Expand All @@ -18,5 +19,6 @@ p pseudo yes NONE no Include pseudo tags
q qualified yes NONE no Include an extra class-qualified tag entry for each tag
r reference yes NONE no Include reference tags
s subparser yes NONE no Include tags generated by subparsers
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
- funcmap yes QemuHX no Include mapping SQMP to C function name
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
2 changes: 2 additions & 0 deletions Tmain/list-roles.d/stdout-expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ HTML C/stylesheet extFile on referenced as extern
HTML J/script extFile on referenced as external files
HTML c/class attribute on assigned as attributes
Java p/package imported on imported package
Kconfig k/kconfig source on kconfig file loaded with source directive
LdScript i/inputSection discarded on discarded when linking
LdScript i/inputSection mapped on mapped to output section
LdScript s/symbol entrypoint on entry points
Expand Down Expand Up @@ -122,6 +123,7 @@ HTML C/stylesheet extFile on referenced as extern
HTML J/script extFile on referenced as external files
HTML c/class attribute on assigned as attributes
Java p/package imported on imported package
Kconfig k/kconfig source on kconfig file loaded with source directive
LdScript i/inputSection discarded on discarded when linking
LdScript i/inputSection mapped on mapped to output section
LdScript s/symbol entrypoint on entry points
Expand Down
4 changes: 4 additions & 0 deletions Units/simple-kconfig.d/args.ctags
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
--map-Kconfig=.kconfig
--extras=+r
--fields=+r
--sort=no
Loading

0 comments on commit 0c78c0c

Please sign in to comment.