ISO-Share/node_modules/prismjs/components/prism-cilkc.js
2024-11-26 21:16:11 +01:00

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'];