2023-10-03 11:14:36 +08:00
|
|
|
Prism.languages.cilkc = Prism.languages.insertBefore('c', 'function', {
|
|
|
|
'parallel-keyword': {
|
|
|
|
pattern: /\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,
|
|
|
|
alias: 'keyword'
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
Prism.languages['cilk-c'] = Prism.languages['cilkc'];
|