提交 524bf7c9 编写于 作者: M Matt Bierner 提交者: GitHub

Pick up new c/c++ grammar fixes #22339 (#22358)

上级 56bbea94
......@@ -144,13 +144,13 @@
"begin": "\\{",
"beginCaptures": {
"0": {
"name": "punctuation.section.block.begin.c"
"name": "punctuation.section.block.begin.bracket.curly.c"
}
},
"end": "\\}",
"endCaptures": {
"0": {
"name": "punctuation.section.block.end.c"
"name": "punctuation.section.block.end.bracket.curly.c"
}
},
"name": "meta.block.cpp",
......@@ -318,13 +318,13 @@
"begin": "\\{",
"beginCaptures": {
"0": {
"name": "punctuation.section.block.begin.cpp"
"name": "punctuation.section.block.begin.bracket.curly.cpp"
}
},
"end": "(\\})(\\s*\\n)?",
"endCaptures": {
"1": {
"name": "punctuation.section.block.end.cpp"
"name": "punctuation.section.block.end.bracket.curly.cpp"
},
"2": {
"name": "invalid.illegal.you-forgot-semicolon.cpp"
......@@ -361,13 +361,13 @@
"begin": "\\{",
"beginCaptures": {
"0": {
"name": "punctuation.section.block.begin.c"
"name": "punctuation.section.block.begin.bracket.curly.c"
}
},
"end": "\\}|(?=\\s*#\\s*endif\\b)",
"endCaptures": {
"0": {
"name": "punctuation.section.block.end.c"
"name": "punctuation.section.block.end.bracket.curly.c"
}
},
"patterns": [
......@@ -451,5 +451,5 @@
]
}
},
"version": "https://github.com/atom/language-c/commit/80db38512efabb3030d600a8d8f8b6d91abbc96b"
"version": "https://github.com/atom/language-c/commit/314f4ee53ede0adc91f56ef91b13d43e66771cd7"
}
\ No newline at end of file
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册