forked from universal-ctags/ctags
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kconfig: ignore comments that start in the middle of a line
Signed-off-by: Masatake YAMATO <[email protected]>
- Loading branch information
Showing
5 changed files
with
50 additions
and
20 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
Units/parser-kconfig.r/comment-starting-from-middle-of-lines.d/args.ctags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--sort=no | ||
--map-Kconfig=.kconfig | ||
--extras-Kconfig=-{configPrefixed} | ||
--fields=+e | ||
--extras=+r |
6 changes: 6 additions & 0 deletions
6
Units/parser-kconfig.r/comment-starting-from-middle-of-lines.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
A input.kconfig /^config A # ...$/;" c typeref:typename:bool | ||
choice987df5010104 input.kconfig /^choice # ...$/;" C end:10 | ||
C input.kconfig /^config C # ...$/;" c choice:choice987df5010104 typeref:typename:bool | ||
D input.kconfig /^menu "D" # ...$/;" m end:17 | ||
E input.kconfig /^config E # ...$/;" c menu:D typeref:typename:bool | ||
F input.kconfig /^menuconfig F # ...$/;" c |
19 changes: 19 additions & 0 deletions
19
Units/parser-kconfig.r/comment-starting-from-middle-of-lines.d/input.kconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
config A # ... | ||
bool | ||
|
||
choice # ... | ||
prompt "B" | ||
|
||
config C # ... | ||
bool | ||
|
||
endchoice # ... | ||
|
||
menu "D" # ... | ||
|
||
config E # ... | ||
bool | ||
|
||
endmenu # ... | ||
|
||
menuconfig F # ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters