Skip to content

Commit

Permalink
fixed issue atom#170, hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
hgdsraj committed Nov 10, 2016
1 parent 17ff20f commit 6fe3942
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grammars/c++.cson
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'include': '#strings'
}
{
'match': '\\b(friend|explicit|virtual|override|final|noexcept)\\b'
'match': '\\b(friend|explicit|override|final|noexcept)\\b'
'name': 'storage.modifier.cpp'
}
{
Expand Down Expand Up @@ -277,7 +277,7 @@
]
}
{
'begin': '\\b(class|struct)\\b\\s*([_A-Za-z][_A-Za-z0-9]*\\b)?+(\\s*:\\s*(public|protected|private)\\s*([_A-Za-z][_A-Za-z0-9]*\\b)((\\s*,\\s*(public|protected|private)\\s*[_A-Za-z][_A-Za-z0-9]*\\b)*))?'
'begin': '\\b(class|struct)\\b\\s*([_A-Za-z][_A-Za-z0-9]*\\b)?+(\\s*:\\s*(public|protected|private|virtual)\\s*([_A-Za-z][_A-Za-z0-9]*\\b)((\\s*,\\s*(public|protected|private)\\s*[_A-Za-z][_A-Za-z0-9]*\\b)*))?'
'beginCaptures':
'1':
'name': 'storage.type.cpp'
Expand All @@ -290,7 +290,7 @@
'6':
'patterns': [
{
'match': '(public|protected|private)'
'match': '(public|protected|private|virtual)'
'name': 'storage.type.modifier.cpp'
}
{
Expand Down

0 comments on commit 6fe3942

Please sign in to comment.