Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 9abcae3

Browse files
author
Wliu
authored
Merge pull request #206 from alpyre/master
Re-implementations to fix function and #define related errors.
2 parents 3761244 + de6c722 commit 9abcae3

File tree

3 files changed

+556
-205
lines changed

3 files changed

+556
-205
lines changed

grammars/c++.cson

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@
147147
'begin': '\\{'
148148
'beginCaptures':
149149
'0':
150-
'name': 'punctuation.section.block.begin.c'
150+
'name': 'punctuation.section.block.begin.bracket.curly.c'
151151
'end': '\\}'
152152
'endCaptures':
153153
'0':
154-
'name': 'punctuation.section.block.end.c'
154+
'name': 'punctuation.section.block.end.bracket.curly.c'
155155
'name': 'meta.block.cpp'
156156
'patterns': [
157157
{
@@ -308,11 +308,11 @@
308308
'begin': '\\{'
309309
'beginCaptures':
310310
'0':
311-
'name': 'punctuation.section.block.begin.cpp'
311+
'name': 'punctuation.section.block.begin.bracket.curly.cpp'
312312
'end': '(\\})(\\s*\\n)?'
313313
'endCaptures':
314314
'1':
315-
'name': 'punctuation.section.block.end.cpp'
315+
'name': 'punctuation.section.block.end.bracket.curly.cpp'
316316
'2':
317317
'name': 'invalid.illegal.you-forgot-semicolon.cpp'
318318
'patterns': [
@@ -344,11 +344,11 @@
344344
'begin': '\\{'
345345
'beginCaptures':
346346
'0':
347-
'name': 'punctuation.section.block.begin.c'
347+
'name': 'punctuation.section.block.begin.bracket.curly.c'
348348
'end': '\\}|(?=\\s*#\\s*endif\\b)'
349349
'endCaptures':
350350
'0':
351-
'name': 'punctuation.section.block.end.c'
351+
'name': 'punctuation.section.block.end.bracket.curly.c'
352352
'patterns': [
353353
{
354354
'include': '#special_block'

0 commit comments

Comments
 (0)