From eb03486765b6e06f82e392fd7f7da3f5a0c0e144 Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Thu, 10 Aug 2023 00:30:24 +0200 Subject: [PATCH] Freeze C++ grammar version --- extensions/cpp/build/update-grammars.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/extensions/cpp/build/update-grammars.js b/extensions/cpp/build/update-grammars.js index 983e61488ef78..50b31708c6e31 100644 --- a/extensions/cpp/build/update-grammars.js +++ b/extensions/cpp/build/update-grammars.js @@ -8,12 +8,14 @@ var updateGrammar = require('vscode-grammar-updater'); async function updateGrammars() { await updateGrammar.update('jeff-hykin/better-c-syntax', 'autogenerated/c.tmLanguage.json', './syntaxes/c.tmLanguage.json', undefined, 'master'); - await updateGrammar.update('jeff-hykin/better-cpp-syntax', 'autogenerated/cpp.tmLanguage.json', './syntaxes/cpp.tmLanguage.json', undefined, 'master'); - await updateGrammar.update('jeff-hykin/better-cpp-syntax', 'autogenerated/cpp.embedded.macro.tmLanguage.json', './syntaxes/cpp.embedded.macro.tmLanguage.json', undefined, 'master'); + + // The license has changed for these two grammar. We have to freeze them as the new license is not compatible with our license. + // await updateGrammar.update('jeff-hykin/better-cpp-syntax', 'autogenerated/cpp.tmLanguage.json', './syntaxes/cpp.tmLanguage.json', undefined, 'master'); + // await updateGrammar.update('jeff-hykin/better-cpp-syntax', 'autogenerated/cpp.embedded.macro.tmLanguage.json', './syntaxes/cpp.embedded.macro.tmLanguage.json', undefined, 'master'); await updateGrammar.update('NVIDIA/cuda-cpp-grammar', 'syntaxes/cuda-cpp.tmLanguage.json', './syntaxes/cuda-cpp.tmLanguage.json', undefined, 'master'); -// `source.c.platform` which is still included by other grammars + // `source.c.platform` which is still included by other grammars await updateGrammar.update('textmate/c.tmbundle', 'Syntaxes/Platform.tmLanguage', './syntaxes/platform.tmLanguage.json'); }