Skip to content

Commit 0070dab

Browse files
committed
Update cpp grammar and add test
Fixes microsoft#80644
1 parent 8ac1c0b commit 0070dab

3 files changed

Lines changed: 542 additions & 2 deletions

File tree

extensions/cpp/cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
},
1212
"license": "MIT",
13-
"version": "1.14.5",
13+
"version": "1.14.6",
1414
"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."
1515
},
1616
{
@@ -42,4 +42,4 @@
4242
}
4343
],
4444
"version": 1
45-
}
45+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
struct Foo {
2+
Foo();
3+
int a;
4+
int b;
5+
int c;
6+
};
7+
Foo::Foo()
8+
: a(1),
9+
// b(2),
10+
c(3) {}

0 commit comments

Comments
 (0)