File tree 2 files changed +4
-34
lines changed
2 files changed +4
-34
lines changed Original file line number Diff line number Diff line change 1200
1200
},
1201
1201
"declaration" : {
1202
1202
"patterns" : [
1203
- {
1204
- "begin" : " \\ bvar\\ b" ,
1205
- "beginCaptures" : {
1206
- "0" : {
1207
- "name" : " storage.type.var.c3"
1208
- }
1209
- },
1210
- "end" : " ;" ,
1211
- "endCaptures" : {
1212
- "0" : {
1213
- "name" : " punctuation.terminator.c3"
1214
- }
1215
- },
1216
- "patterns" : [
1217
- {
1218
- "match" : " \\ $(?:_*[A-Z][_A-Z0-9]*[a-z][_a-zA-Z0-9]*)" ,
1219
- "name" : " support.type.c3"
1220
- },
1221
- {
1222
- "include" : " #declaration_after_type"
1223
- }
1224
- ]
1225
- },
1226
1203
{
1227
1204
"begin" : " (?=\\ $(typeof|typefrom|vatype|evaltype)\\ b)" ,
1228
1205
"end" : " ;" ,
1240
1217
}
1241
1218
]
1242
1219
},
1220
+ {
1221
+ "include" : " #path"
1222
+ },
1243
1223
{
1244
1224
"begin" : " (?=\\ $?\\ b(?:_*[A-Z][_A-Z0-9]*[a-z][_a-zA-Z0-9]*)\\ b|\\ b(?:void|bool|char|double|float|float16|int128|ichar|int|iptr|isz|long|short|uint128|uint|ulong|uptr|ushort|usz|float128|any|anyfault|typeid)\\ b)" ,
1245
1225
"end" : " ;" ,
Original file line number Diff line number Diff line change @@ -619,24 +619,14 @@ repository:
619
619
620
620
declaration :
621
621
patterns :
622
- - begin : \bvar\b
623
- beginCaptures :
624
- 0 : { name: storage.type.var.c3 }
625
- end : ;
626
- endCaptures :
627
- 0 : { name: punctuation.terminator.c3 }
628
- patterns :
629
- # CT type
630
- - match : ' \${{TYPE}}'
631
- name : support.type.c3
632
- - include : " #declaration_after_type"
633
622
- begin : ' (?=\$(typeof|typefrom|vatype|evaltype)\b)'
634
623
end : ;
635
624
endCaptures :
636
625
0 : { name: punctuation.terminator.c3 }
637
626
patterns :
638
627
- include : " #type"
639
628
- include : " #declaration_after_type"
629
+ - include : " #path"
640
630
- begin : ' (?=\$?\b{{TYPE}}\b|\b(?:{{base_type}})\b)'
641
631
end : ;
642
632
endCaptures :
You can’t perform that action at this time.
0 commit comments