upc-hl.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Syntax highlighting definition for Unified Parallel C
  4. xslthl - XSLT Syntax Highlighting
  5. http://sourceforge.net/projects/xslthl/
  6. Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks,
  7. Viraj Sinha
  8. This software is provided 'as-is', without any express or implied
  9. warranty. In no event will the authors be held liable for any damages
  10. arising from the use of this software.
  11. Permission is granted to anyone to use this software for any purpose,
  12. including commercial applications, and to alter it and redistribute it
  13. freely, subject to the following restrictions:
  14. 1. The origin of this software must not be misrepresented; you must not
  15. claim that you wrote the original software. If you use this software
  16. in a product, an acknowledgment in the product documentation would be
  17. appreciated but is not required.
  18. 2. Altered source versions must be plainly marked as such, and must not be
  19. misrepresented as being the original software.
  20. 3. This notice may not be removed or altered from any source distribution.
  21. Michal Molhanec <mol1111 at users.sourceforge.net>
  22. Jirka Kosek <kosek at users.sourceforge.net>
  23. Michiel Hendriks <elmuerte at users.sourceforge.net>
  24. -->
  25. <!-- This file is a modified version of c-hl.xml adapted for UPC compatability
  26. by , who in no way takes credit for the original creation of this
  27. file or the rest of xslthl. -->
  28. <highlighters>
  29. <highlighter type="multiline-comment">
  30. <start>/**</start>
  31. <end>*/</end>
  32. <style>doccomment</style>
  33. </highlighter>
  34. <highlighter type="oneline-comment">
  35. <start><![CDATA[/// ]]></start>
  36. <style>doccomment</style>
  37. </highlighter>
  38. <highlighter type="multiline-comment">
  39. <start>/*</start>
  40. <end>*/</end>
  41. </highlighter>
  42. <highlighter type="oneline-comment">//</highlighter>
  43. <highlighter type="oneline-comment">
  44. <!-- use the online-comment highlighter to detect directives -->
  45. <start>#</start>
  46. <lineBreakEscape>\</lineBreakEscape>
  47. <style>directive</style>
  48. <solitary />
  49. </highlighter>
  50. <highlighter type="string">
  51. <string>"</string>
  52. <escape>\</escape>
  53. </highlighter>
  54. <highlighter type="string">
  55. <string>'</string>
  56. <escape>\</escape>
  57. </highlighter>
  58. <highlighter type="hexnumber">
  59. <prefix>0x</prefix>
  60. <suffix>ul</suffix>
  61. <suffix>lu</suffix>
  62. <suffix>u</suffix>
  63. <suffix>l</suffix>
  64. <ignoreCase />
  65. </highlighter>
  66. <highlighter type="number">
  67. <point>.</point>
  68. <pointStarts />
  69. <exponent>e</exponent>
  70. <suffix>ul</suffix>
  71. <suffix>lu</suffix>
  72. <suffix>u</suffix>
  73. <suffix>f</suffix>
  74. <suffix>l</suffix>
  75. <ignoreCase />
  76. </highlighter>
  77. <highlighter type="keywords">
  78. <keyword>auto</keyword>
  79. <keyword>_Bool</keyword>
  80. <keyword>break</keyword>
  81. <keyword>case</keyword>
  82. <keyword>char</keyword>
  83. <keyword>_Complex</keyword>
  84. <keyword>const</keyword>
  85. <keyword>continue</keyword>
  86. <keyword>default</keyword>
  87. <keyword>do</keyword>
  88. <keyword>double</keyword>
  89. <keyword>else</keyword>
  90. <keyword>enum</keyword>
  91. <keyword>extern</keyword>
  92. <keyword>float</keyword>
  93. <keyword>for</keyword>
  94. <keyword>goto</keyword>
  95. <keyword>if</keyword>
  96. <keyword>_Imaginary</keyword>
  97. <keyword>inline</keyword>
  98. <keyword>int</keyword>
  99. <keyword>long</keyword>
  100. <keyword>register</keyword>
  101. <keyword>relaxed</keyword>
  102. <keyword>restrict</keyword>
  103. <keyword>return</keyword>
  104. <keyword>shared</keyword>
  105. <keyword>strict</keyword>
  106. <keyword>short</keyword>
  107. <keyword>signed</keyword>
  108. <keyword>sizeof</keyword>
  109. <keyword>static</keyword>
  110. <keyword>struct</keyword>
  111. <keyword>switch</keyword>
  112. <keyword>typedef</keyword>
  113. <keyword>union</keyword>
  114. <keyword>unsigned</keyword>
  115. <keyword>upc_blocksizeof</keyword>
  116. <keyword>upc_elemsizeof</keyword>
  117. <keyword>upc_localsizeof</keyword>
  118. <keyword>upc_lock_t</keyword>
  119. <keyword>upc_forall</keyword>
  120. <keyword>upc_barrier</keyword>
  121. <keyword>upc_wait</keyword>
  122. <keyword>upc_notify</keyword>
  123. <keyword>upc_fence</keyword>
  124. <keyword>void</keyword>
  125. <keyword>volatile</keyword>
  126. <keyword>while</keyword>
  127. </highlighter>
  128. </highlighters>