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