hexo/node_modules/prismjs/components/prism-cilkcpp.js

10 lines
296 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
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'];