Skip to content

Commit eb03486

Browse files
committed
Freeze C++ grammar version
1 parent a3e2f15 commit eb03486

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

extensions/cpp/build/update-grammars.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ var updateGrammar = require('vscode-grammar-updater');
88

99
async function updateGrammars() {
1010
await updateGrammar.update('jeff-hykin/better-c-syntax', 'autogenerated/c.tmLanguage.json', './syntaxes/c.tmLanguage.json', undefined, 'master');
11-
await updateGrammar.update('jeff-hykin/better-cpp-syntax', 'autogenerated/cpp.tmLanguage.json', './syntaxes/cpp.tmLanguage.json', undefined, 'master');
12-
await updateGrammar.update('jeff-hykin/better-cpp-syntax', 'autogenerated/cpp.embedded.macro.tmLanguage.json', './syntaxes/cpp.embedded.macro.tmLanguage.json', undefined, 'master');
11+
12+
// The license has changed for these two grammar. We have to freeze them as the new license is not compatible with our license.
13+
// await updateGrammar.update('jeff-hykin/better-cpp-syntax', 'autogenerated/cpp.tmLanguage.json', './syntaxes/cpp.tmLanguage.json', undefined, 'master');
14+
// await updateGrammar.update('jeff-hykin/better-cpp-syntax', 'autogenerated/cpp.embedded.macro.tmLanguage.json', './syntaxes/cpp.embedded.macro.tmLanguage.json', undefined, 'master');
1315

1416
await updateGrammar.update('NVIDIA/cuda-cpp-grammar', 'syntaxes/cuda-cpp.tmLanguage.json', './syntaxes/cuda-cpp.tmLanguage.json', undefined, 'master');
1517

16-
// `source.c.platform` which is still included by other grammars
18+
// `source.c.platform` which is still included by other grammars
1719
await updateGrammar.update('textmate/c.tmbundle', 'Syntaxes/Platform.tmLanguage', './syntaxes/platform.tmLanguage.json');
1820
}
1921

0 commit comments

Comments
 (0)