File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
CC input.kconfig /^CC := gcc$/;" v
2
- CC_HAS_FOO input.kconfig /^config CC_HAS_FOO$/;" c
2
+ CC_HAS_FOO input.kconfig /^config CC_HAS_FOO$/;" c typeref:typename:bool
3
3
CONFIG_CC_HAS_FOO input.kconfig /^config CC_HAS_FOO$/;" c
4
4
CONFIG_CC_HAS_FOO_MODULE input.kconfig /^config CC_HAS_FOO$/;" c
5
5
stringify input.kconfig /^stringify = $(squote)$(quote)$1$(quote)$(squote)$/;" v
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ net/mptcp/Kconfig input-3.kconfig /^source "net\/mptcp\/Kconfig"$/;" k menu:Netw
115
115
NETWORK_SECMARK input-3.kconfig /^config NETWORK_SECMARK$/;" c menu:Networking options typeref:typename:bool roles:def
116
116
CONFIG_NETWORK_SECMARK input-3.kconfig /^config NETWORK_SECMARK$/;" c menu:Networking options roles:def
117
117
CONFIG_NETWORK_SECMARK_MODULE input-3.kconfig /^config NETWORK_SECMARK$/;" c menu:Networking options roles:def
118
- NET_PTP_CLASSIFY input-3.kconfig /^config NET_PTP_CLASSIFY$/;" c menu:Networking options roles:def
118
+ NET_PTP_CLASSIFY input-3.kconfig /^config NET_PTP_CLASSIFY$/;" c menu:Networking options typeref:typename:bool roles:def
119
119
CONFIG_NET_PTP_CLASSIFY input-3.kconfig /^config NET_PTP_CLASSIFY$/;" c menu:Networking options roles:def
120
120
CONFIG_NET_PTP_CLASSIFY_MODULE input-3.kconfig /^config NET_PTP_CLASSIFY$/;" c menu:Networking options roles:def
121
121
NETWORK_PHY_TIMESTAMPING input-3.kconfig /^config NETWORK_PHY_TIMESTAMPING$/;" c menu:Networking options typeref:typename:bool roles:def
Original file line number Diff line number Diff line change @@ -76,12 +76,12 @@ extern parserDefinition* KconfigParser (void)
76
76
"{{\n"
77
77
" .\n"
78
78
"}}" , NULL , false},
79
- {"^[ \t]*(bool|boolean|hex|int|string|tristate)\\>" , "" ,
79
+ {"^[ \t]*(def_)?( bool|boolean|hex|int|string|tristate)\\>" , "" ,
80
80
"" , "{exclusive}"
81
81
"{{\n"
82
82
" count 0 gt {\n"
83
- " \\1 typeref:\n"
84
- " pop \n"
83
+ " \\2 typeref:\n"
84
+ " clear \n"
85
85
" } if\n"
86
86
"}}" , NULL , false},
87
87
{"^[ \t]*(menu)?config[ \t]+([A-Za-z0-9_]+)[ \t]*$" , "CONFIG_\\2" ,
Original file line number Diff line number Diff line change 56
56
--regex-Kconfig=/^[ \t]*(menu)?config[ \t]+([A-Za-z0-9_]+)[ \t]*$/\2/c/{scope=ref}{{
57
57
.
58
58
}}
59
- --regex-Kconfig=/^[ \t]*(bool|boolean|hex|int|string|tristate)\>///{exclusive}{{
59
+ --regex-Kconfig=/^[ \t]*(def_)?( bool|boolean|hex|int|string|tristate)\>///{exclusive}{{
60
60
count 0 gt {
61
- \1 typeref:
62
- pop
61
+ \2 typeref:
62
+ clear
63
63
} if
64
64
}}
65
65
--regex-Kconfig=/^[ \t]*(menu)?config[ \t]+([A-Za-z0-9_]+)[ \t]*$/CONFIG_\2/c/{scope=ref}{_extra=configPrefixed}
You can’t perform that action at this time.
0 commit comments