Skip to content

Commit 6ac83c7

Browse files
authored
Update grammars (microsoft#178508)
* Update grammars * Update tests
1 parent 9564137 commit 6ac83c7

13 files changed

+748
-155
lines changed

extensions/cpp/cgmanifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"git": {
77
"name": "jeff-hykin/better-cpp-syntax",
88
"repositoryUrl": "https://github.com/jeff-hykin/better-cpp-syntax",
9-
"commitHash": "7aef15d9203f0dfeaf075f0673ab3ab382dfb0b1"
9+
"commitHash": "f1d127a8af2b184db570345f0bb179503c47fdf6"
1010
}
1111
},
1212
"license": "MIT",

extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json

+31-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/7aef15d9203f0dfeaf075f0673ab3ab382dfb0b1",
7+
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/f1d127a8af2b184db570345f0bb179503c47fdf6",
88
"name": "C++",
99
"scopeName": "source.cpp.embedded.macro",
1010
"patterns": [
@@ -126,6 +126,9 @@
126126
},
127127
{
128128
"include": "#string_context"
129+
},
130+
{
131+
"include": "#ever_present_context"
129132
}
130133
]
131134
},
@@ -158,6 +161,9 @@
158161
},
159162
{
160163
"include": "source.cpp#number_literal"
164+
},
165+
{
166+
"include": "#ever_present_context"
161167
}
162168
]
163169
},
@@ -1723,6 +1729,9 @@
17231729
},
17241730
{
17251731
"include": "#string_context"
1732+
},
1733+
{
1734+
"include": "#ever_present_context"
17261735
}
17271736
]
17281737
},
@@ -1755,6 +1764,9 @@
17551764
},
17561765
{
17571766
"include": "source.cpp#number_literal"
1767+
},
1768+
{
1769+
"include": "#ever_present_context"
17581770
}
17591771
]
17601772
},
@@ -4243,6 +4255,9 @@
42434255
},
42444256
{
42454257
"include": "#string_context"
4258+
},
4259+
{
4260+
"include": "#ever_present_context"
42464261
}
42474262
]
42484263
},
@@ -4275,6 +4290,9 @@
42754290
},
42764291
{
42774292
"include": "source.cpp#number_literal"
4293+
},
4294+
{
4295+
"include": "#ever_present_context"
42784296
}
42794297
]
42804298
},
@@ -4894,6 +4912,9 @@
48944912
},
48954913
{
48964914
"include": "#string_context"
4915+
},
4916+
{
4917+
"include": "#ever_present_context"
48974918
}
48984919
]
48994920
},
@@ -4926,6 +4947,9 @@
49264947
},
49274948
{
49284949
"include": "source.cpp#number_literal"
4950+
},
4951+
{
4952+
"include": "#ever_present_context"
49294953
}
49304954
]
49314955
},
@@ -6216,6 +6240,9 @@
62166240
"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
62176241
}
62186242
}
6243+
},
6244+
{
6245+
"include": "#ever_present_context"
62196246
}
62206247
]
62216248
},
@@ -6517,6 +6544,9 @@
65176544
},
65186545
{
65196546
"include": "#evaluation_context"
6547+
},
6548+
{
6549+
"include": "#ever_present_context"
65206550
}
65216551
]
65226552
},

extensions/cpp/syntaxes/cpp.tmLanguage.json

+31-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/7aef15d9203f0dfeaf075f0673ab3ab382dfb0b1",
7+
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/f1d127a8af2b184db570345f0bb179503c47fdf6",
88
"name": "C++",
99
"scopeName": "source.cpp",
1010
"patterns": [
@@ -163,6 +163,9 @@
163163
},
164164
{
165165
"include": "#string_context"
166+
},
167+
{
168+
"include": "#ever_present_context"
166169
}
167170
]
168171
},
@@ -195,6 +198,9 @@
195198
},
196199
{
197200
"include": "#number_literal"
201+
},
202+
{
203+
"include": "#ever_present_context"
198204
}
199205
]
200206
},
@@ -1982,6 +1988,9 @@
19821988
},
19831989
{
19841990
"include": "#string_context"
1991+
},
1992+
{
1993+
"include": "#ever_present_context"
19851994
}
19861995
]
19871996
},
@@ -2014,6 +2023,9 @@
20142023
},
20152024
{
20162025
"include": "#number_literal"
2026+
},
2027+
{
2028+
"include": "#ever_present_context"
20172029
}
20182030
]
20192031
},
@@ -5222,6 +5234,9 @@
52225234
},
52235235
{
52245236
"include": "#string_context"
5237+
},
5238+
{
5239+
"include": "#ever_present_context"
52255240
}
52265241
]
52275242
},
@@ -5254,6 +5269,9 @@
52545269
},
52555270
{
52565271
"include": "#number_literal"
5272+
},
5273+
{
5274+
"include": "#ever_present_context"
52575275
}
52585276
]
52595277
},
@@ -6431,6 +6449,9 @@
64316449
},
64326450
{
64336451
"include": "#string_context"
6452+
},
6453+
{
6454+
"include": "#ever_present_context"
64346455
}
64356456
]
64366457
},
@@ -6463,6 +6484,9 @@
64636484
},
64646485
{
64656486
"include": "#number_literal"
6487+
},
6488+
{
6489+
"include": "#ever_present_context"
64666490
}
64676491
]
64686492
},
@@ -9063,6 +9087,9 @@
90639087
"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
90649088
}
90659089
}
9090+
},
9091+
{
9092+
"include": "#ever_present_context"
90669093
}
90679094
]
90689095
},
@@ -9860,6 +9887,9 @@
98609887
},
98619888
{
98629889
"include": "#evaluation_context"
9890+
},
9891+
{
9892+
"include": "#ever_present_context"
98639893
}
98649894
]
98659895
},

extensions/latex/cgmanifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"git": {
77
"name": "jlelong/vscode-latex-basics",
88
"repositoryUrl": "https://github.com/jlelong/vscode-latex-basics",
9-
"commitHash": "eed5b817b757aab3695af437409fcbfdd37bbc59"
9+
"commitHash": "d80a1a5dcff9b85217e174242dd3d0e2210b94a0"
1010
}
1111
},
1212
"license": "MIT",

0 commit comments

Comments
 (0)