9 lines
296 B
JavaScript
9 lines
296 B
JavaScript
Prism.languages.cilkcpp = Prism.languages.insertBefore('cpp', 'function', {
|
|
'parallel-keyword': {
|
|
pattern: /\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,
|
|
alias: 'keyword'
|
|
}
|
|
});
|
|
|
|
Prism.languages['cilk-cpp'] = Prism.languages['cilkcpp'];
|
|
Prism.languages['cilk'] = Prism.languages['cilkcpp'];
|