9 lines
234 B
JavaScript
9 lines
234 B
JavaScript
|
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'];
|