Skip to content

Commit

Permalink
Revert C and C++ grammar change (#71997)
Browse files Browse the repository at this point in the history
* Revert C and C++ grammar change

Fixes #71821
  • Loading branch information
alexr00 authored Apr 10, 2019
1 parent e6f8493 commit 2f7c397
Show file tree
Hide file tree
Showing 10 changed files with 948 additions and 3,714 deletions.
4 changes: 2 additions & 2 deletions extensions/cpp/build/update-grammars.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

var updateGrammar = require('../../../build/npm/update-grammar');

updateGrammar.update('jeff-hykin/cpp-textmate-grammar', '/syntaxes/c.tmLanguage.json', './syntaxes/c.tmLanguage.json');
updateGrammar.update('jeff-hykin/cpp-textmate-grammar', '/syntaxes/cpp.tmLanguage.json', './syntaxes/cpp.tmLanguage.json');
updateGrammar.update('atom/language-c', 'grammars/c.cson', './syntaxes/c.tmLanguage.json');
updateGrammar.update('atom/language-c', 'grammars/c%2B%2B.cson', './syntaxes/cpp.tmLanguage.json');

// `source.c.platform` which is still included by other grammars
updateGrammar.update('textmate/c.tmbundle', 'Syntaxes/Platform.tmLanguage', './syntaxes/platform.tmLanguage.json');
Expand Down
10 changes: 5 additions & 5 deletions extensions/cpp/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"component": {
"type": "git",
"git": {
"name": "jeff-hykin/cpp-textmate-grammar",
"repositoryUrl": "https://github.com/jeff-hykin/cpp-textmate-grammar",
"commitHash": "d57808aa3db2242f1f2be1aec19649a852aaa52e"
"name": "atom/language-c",
"repositoryUrl": "https://github.com/atom/language-c",
"commitHash": "9c0c5f202741a5647025db8d5df5fefba47b036c"
}
},
"license": "MIT",
"version": "1.4.5",
"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."
"version": "0.58.1",
"description": "The files syntaxes/c.json and syntaxes/c++.json were derived from the Atom package https://atom.io/packages/language-c which was originally converted from the C TextMate bundle https://github.com/textmate/c.tmbundle."
},
{
"component": {
Expand Down
306 changes: 50 additions & 256 deletions extensions/cpp/syntaxes/c.tmLanguage.json

Large diffs are not rendered by default.

Loading

0 comments on commit 2f7c397

Please sign in to comment.