Skip to content

Commit

Permalink
Update cpp grammar and add test
Browse files Browse the repository at this point in the history
Fixes #80644
  • Loading branch information
alexr00 committed Sep 16, 2019
1 parent 8ac1c0b commit 0070dab
Show file tree
Hide file tree
Showing 3 changed files with 542 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/cpp/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
},
"license": "MIT",
"version": "1.14.5",
"version": "1.14.6",
"description": "The files syntaxes/c.json and syntaxes/c++.json were derived from https://github.com/atom/language-c which was originally converted from the C TextMate bundle https://github.com/textmate/c.tmbundle."
},
{
Expand Down Expand Up @@ -42,4 +42,4 @@
}
],
"version": 1
}
}
10 changes: 10 additions & 0 deletions extensions/cpp/test/colorize-fixtures/test-80644.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
struct Foo {
Foo();
int a;
int b;
int c;
};
Foo::Foo()
: a(1),
// b(2),
c(3) {}
Loading

0 comments on commit 0070dab

Please sign in to comment.