Skip to content

Commit

Permalink
Update grammars (microsoft#178508)
Browse files Browse the repository at this point in the history
* Update grammars

* Update tests
  • Loading branch information
alexr00 authored Mar 29, 2023
1 parent 9564137 commit 6ac83c7
Show file tree
Hide file tree
Showing 13 changed files with 748 additions and 155 deletions.
2 changes: 1 addition & 1 deletion extensions/cpp/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"git": {
"name": "jeff-hykin/better-cpp-syntax",
"repositoryUrl": "https://github.com/jeff-hykin/better-cpp-syntax",
"commitHash": "7aef15d9203f0dfeaf075f0673ab3ab382dfb0b1"
"commitHash": "f1d127a8af2b184db570345f0bb179503c47fdf6"
}
},
"license": "MIT",
Expand Down
32 changes: 31 additions & 1 deletion extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/7aef15d9203f0dfeaf075f0673ab3ab382dfb0b1",
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/f1d127a8af2b184db570345f0bb179503c47fdf6",
"name": "C++",
"scopeName": "source.cpp.embedded.macro",
"patterns": [
Expand Down Expand Up @@ -126,6 +126,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -158,6 +161,9 @@
},
{
"include": "source.cpp#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -1723,6 +1729,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -1755,6 +1764,9 @@
},
{
"include": "source.cpp#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -4243,6 +4255,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -4275,6 +4290,9 @@
},
{
"include": "source.cpp#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -4894,6 +4912,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -4926,6 +4947,9 @@
},
{
"include": "source.cpp#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -6216,6 +6240,9 @@
"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
}
}
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -6517,6 +6544,9 @@
},
{
"include": "#evaluation_context"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down
32 changes: 31 additions & 1 deletion extensions/cpp/syntaxes/cpp.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/7aef15d9203f0dfeaf075f0673ab3ab382dfb0b1",
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/f1d127a8af2b184db570345f0bb179503c47fdf6",
"name": "C++",
"scopeName": "source.cpp",
"patterns": [
Expand Down Expand Up @@ -163,6 +163,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -195,6 +198,9 @@
},
{
"include": "#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -1982,6 +1988,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -2014,6 +2023,9 @@
},
{
"include": "#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -5222,6 +5234,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -5254,6 +5269,9 @@
},
{
"include": "#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -6431,6 +6449,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -6463,6 +6484,9 @@
},
{
"include": "#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -9063,6 +9087,9 @@
"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
}
}
},
{
"include": "#ever_present_context"
}
]
},
Expand Down Expand Up @@ -9860,6 +9887,9 @@
},
{
"include": "#evaluation_context"
},
{
"include": "#ever_present_context"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion extensions/latex/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"git": {
"name": "jlelong/vscode-latex-basics",
"repositoryUrl": "https://github.com/jlelong/vscode-latex-basics",
"commitHash": "eed5b817b757aab3695af437409fcbfdd37bbc59"
"commitHash": "d80a1a5dcff9b85217e174242dd3d0e2210b94a0"
}
},
"license": "MIT",
Expand Down
Loading

0 comments on commit 6ac83c7

Please sign in to comment.