prism-cilkcpp.js 296 B

123456789
  1. Prism.languages.cilkcpp = Prism.languages.insertBefore('cpp', 'function', {
  2. 'parallel-keyword': {
  3. pattern: /\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,
  4. alias: 'keyword'
  5. }
  6. });
  7. Prism.languages['cilk-cpp'] = Prism.languages['cilkcpp'];
  8. Prism.languages['cilk'] = Prism.languages['cilkcpp'];