File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export default function(hljs) {
99
99
begin : / # \s * [ a - z ] + \b / ,
100
100
end : / $ / ,
101
101
keywords : { keyword :
102
- 'if else elif endif define undef warning error line '
102
+ 'if else elif embed endif define undef warning error line '
103
103
+ 'pragma _Pragma ifdef ifndef include' } ,
104
104
contains : [
105
105
{
@@ -151,6 +151,7 @@ export default function(hljs) {
151
151
'constexpr' ,
152
152
'constinit' ,
153
153
'continue' ,
154
+ 'contract_assert' ,
154
155
'decltype' ,
155
156
'default' ,
156
157
'delete' ,
@@ -181,8 +182,10 @@ export default function(hljs) {
181
182
'or' ,
182
183
'or_eq' ,
183
184
'override' ,
185
+ 'pre' ,
184
186
'private' ,
185
187
'protected' ,
188
+ 'post' ,
186
189
'public' ,
187
190
'reflexpr' ,
188
191
'register' ,
@@ -212,7 +215,9 @@ export default function(hljs) {
212
215
'volatile' ,
213
216
'while' ,
214
217
'xor' ,
215
- 'xor_eq'
218
+ 'xor_eq' ,
219
+ '_Atomic' ,
220
+ '_BitInt'
216
221
] ;
217
222
218
223
// https://en.cppreference.com/w/cpp/keyword
You can’t perform that action at this time.
0 commit comments