c.syntax 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. # Syntax rules for the C and the C++ programming languages
  2. context default
  3. keyword whole auto yellow
  4. keyword whole break yellow
  5. keyword whole case yellow
  6. keyword whole char yellow
  7. keyword whole const yellow
  8. keyword whole continue yellow
  9. keyword whole do yellow
  10. keyword whole double yellow
  11. keyword whole else yellow
  12. keyword whole enum yellow
  13. keyword whole extern yellow
  14. keyword whole float yellow
  15. keyword whole for yellow
  16. keyword whole goto yellow
  17. keyword whole if yellow
  18. keyword whole int yellow
  19. keyword whole long yellow
  20. keyword whole register yellow
  21. keyword whole return yellow
  22. keyword whole short yellow
  23. keyword whole signed yellow
  24. keyword whole sizeof yellow
  25. keyword whole static yellow
  26. keyword whole struct yellow
  27. keyword whole switch yellow
  28. keyword whole typedef yellow
  29. keyword whole union yellow
  30. keyword whole unsigned yellow
  31. keyword whole void yellow
  32. keyword whole volatile yellow
  33. keyword whole while yellow
  34. keyword whole asm yellow
  35. keyword whole inline yellow
  36. keyword whole wchar_t yellow
  37. keyword whole ... yellow
  38. keyword whole linestart \{\s\t\}\[\s\t\]#*\n brightmagenta
  39. keyword whole \[\s\t\]default yellow
  40. keyword whole linestart \[\s\t\]\{ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\}\[0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\]: cyan
  41. keyword /\* brown
  42. keyword \*/ brown
  43. keyword // brown
  44. keyword '\\\{"abtnvfr\}' brightgreen
  45. keyword '\\\{0123\}\{01234567\}\{01234567\}' brightgreen
  46. keyword '\\'' brightgreen
  47. keyword '\\\\' brightgreen
  48. keyword '\\0' brightgreen
  49. keyword '\{\s!"#$%&()\*\+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~嵗╯丰戍貝物洎悖停眾斯須號獄播噶擱藏霰匸�帊昅恘倳眑婭笫崷窙嗲睧颬睼麧緗鴇膹擨闀貘覷鏷禴矙𡜍𦶠�\}' brightgreen
  50. # punctuation characters, sorted by ASCII code
  51. keyword ! yellow
  52. keyword % yellow
  53. keyword && yellow
  54. keyword & brightmagenta
  55. keyword ( brightcyan
  56. keyword ) brightcyan
  57. keyword \* yellow
  58. keyword \+ yellow
  59. keyword , brightcyan
  60. keyword - yellow
  61. keyword / yellow
  62. keyword : brightcyan
  63. keyword ; brightmagenta
  64. keyword < yellow
  65. keyword = yellow
  66. keyword > yellow
  67. keyword ? brightcyan
  68. keyword [ brightcyan
  69. keyword ] brightcyan
  70. keyword ^ brightmagenta
  71. keyword { brightcyan
  72. keyword || yellow
  73. keyword | brightmagenta
  74. keyword } brightcyan
  75. keyword ~ brightmagenta
  76. context exclusive /\* \*/ brown
  77. spellcheck
  78. context exclusive // \n brown
  79. spellcheck
  80. context linestart # \n brightred
  81. keyword \\\n yellow
  82. keyword /\**\*/ brown
  83. keyword //*\n brown
  84. keyword "+" red
  85. keyword <+> red
  86. context " " green
  87. spellcheck
  88. keyword \\" brightgreen
  89. keyword %% brightgreen
  90. keyword %\[#0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[L\]\{eEfgGoxX\} brightgreen
  91. keyword %\[0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[hl\]\{diuxX\} brightgreen
  92. keyword %\[hl\]n brightgreen
  93. keyword %\[-\]\[0123456789\*\]\[.\]\[0123456789\*\]s brightgreen
  94. keyword %[*] brightgreen
  95. keyword %c brightgreen
  96. keyword %p brightgreen
  97. keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
  98. keyword \\\\ brightgreen
  99. keyword \\' brightgreen
  100. keyword \\\{abtnvfr\} brightgreen