Skip to content

Commit 524bf7c

Browse files
authored
Pick up new c/c++ grammar fixes microsoft#22339 (microsoft#22358)
1 parent 56bbea9 commit 524bf7c

6 files changed

Lines changed: 3116 additions & 1169 deletions

File tree

extensions/cpp/syntaxes/c++.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@
144144
"begin": "\\{",
145145
"beginCaptures": {
146146
"0": {
147-
"name": "punctuation.section.block.begin.c"
147+
"name": "punctuation.section.block.begin.bracket.curly.c"
148148
}
149149
},
150150
"end": "\\}",
151151
"endCaptures": {
152152
"0": {
153-
"name": "punctuation.section.block.end.c"
153+
"name": "punctuation.section.block.end.bracket.curly.c"
154154
}
155155
},
156156
"name": "meta.block.cpp",
@@ -318,13 +318,13 @@
318318
"begin": "\\{",
319319
"beginCaptures": {
320320
"0": {
321-
"name": "punctuation.section.block.begin.cpp"
321+
"name": "punctuation.section.block.begin.bracket.curly.cpp"
322322
}
323323
},
324324
"end": "(\\})(\\s*\\n)?",
325325
"endCaptures": {
326326
"1": {
327-
"name": "punctuation.section.block.end.cpp"
327+
"name": "punctuation.section.block.end.bracket.curly.cpp"
328328
},
329329
"2": {
330330
"name": "invalid.illegal.you-forgot-semicolon.cpp"
@@ -361,13 +361,13 @@
361361
"begin": "\\{",
362362
"beginCaptures": {
363363
"0": {
364-
"name": "punctuation.section.block.begin.c"
364+
"name": "punctuation.section.block.begin.bracket.curly.c"
365365
}
366366
},
367367
"end": "\\}|(?=\\s*#\\s*endif\\b)",
368368
"endCaptures": {
369369
"0": {
370-
"name": "punctuation.section.block.end.c"
370+
"name": "punctuation.section.block.end.bracket.curly.c"
371371
}
372372
},
373373
"patterns": [
@@ -451,5 +451,5 @@
451451
]
452452
}
453453
},
454-
"version": "https://github.com/atom/language-c/commit/80db38512efabb3030d600a8d8f8b6d91abbc96b"
454+
"version": "https://github.com/atom/language-c/commit/314f4ee53ede0adc91f56ef91b13d43e66771cd7"
455455
}

0 commit comments

Comments
 (0)