m4.syntax 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. #
  2. # M4 Macroprocessor/Autoconf syntax highlighting
  3. # for MC Editor/CoolEdit
  4. #
  5. # Author: Vlad Romanenko <VladRomanenko@ukr.net>
  6. #
  7. # 2002-09-19 Vlad Romanenko <VladRomanenko@ukr.net>
  8. # * Initial public release.
  9. #
  10. context default
  11. #=========================
  12. # Built-in macros with mandatory parameters
  13. keyword whole builtin yellow
  14. keyword whole decr yellow
  15. keyword whole define yellow
  16. keyword whole defn yellow
  17. keyword whole esyscmd yellow
  18. keyword whole eval yellow
  19. keyword whole format yellow
  20. keyword whole ifdef yellow
  21. keyword whole ifelse yellow
  22. keyword whole include yellow
  23. keyword whole incr yellow
  24. keyword whole index yellow
  25. keyword whole len yellow
  26. keyword whole maketemp yellow
  27. keyword whole patsubst yellow
  28. keyword whole popdef yellow
  29. keyword whole pushdef yellow
  30. keyword whole regexp yellow
  31. keyword whole sinclude yellow
  32. keyword whole substr yellow
  33. keyword whole syscmd yellow
  34. keyword whole translit yellow
  35. keyword whole undefine yellow
  36. #=========================
  37. # Built-in macros with optional parameters
  38. keyword whole changecom yellow
  39. keyword whole changequote yellow
  40. keyword whole debugfile yellow
  41. keyword whole debugmode yellow
  42. keyword whole divert yellow
  43. keyword whole divnum yellow
  44. keyword whole dumpdef yellow
  45. keyword whole errprint yellow
  46. keyword whole indir yellow
  47. keyword whole m4exit yellow
  48. keyword whole m4wrap yellow
  49. keyword whole shift yellow
  50. keyword whole sysval yellow
  51. keyword whole traceoff yellow
  52. keyword whole traceon yellow
  53. keyword whole undivert yellow
  54. #=========================
  55. # Autoconf and Automake macros
  56. keyword whole AC_\[ABCDEFGHIJKLMNOPQRSTUVWXYZ_\] cyan
  57. keyword whole AS_\[ABCDEFGHIJKLMNOPQRSTUVWXYZ_\] cyan
  58. keyword whole AM_\[ABCDEFGHIJKLMNOPQRSTUVWXYZ_\] cyan
  59. #=========================
  60. # Variables
  61. keyword whole __file__ brightred
  62. keyword whole __gnu__ brightred
  63. keyword whole __line__ brightred
  64. keyword whole __unix__ brightred
  65. keyword wholeright $\{0123456789\}\[0123456789\] brightred
  66. keyword wholeright $\{@\*#\} brightred
  67. #=========================
  68. # Special symbols
  69. keyword ` brightcyan
  70. keyword ' brightcyan
  71. keyword [ brightcyan
  72. keyword ] brightcyan
  73. keyword , brightcyan
  74. keyword ( brightcyan
  75. keyword ) brightcyan
  76. #=============================
  77. # Comments
  78. context # \n brown
  79. spellcheck
  80. keyword whole BUG brightred
  81. keyword whole FixMe brightred
  82. keyword whole FIXME brightred
  83. keyword whole Note brightred
  84. keyword whole NOTE brightred
  85. keyword whole ToDo brightred
  86. keyword whole TODO brightred
  87. keyword !!\[!\] brightred
  88. keyword ??\[?\] brightred
  89. context dnl \n brown
  90. spellcheck
  91. keyword whole BUG brightred
  92. keyword whole FixMe brightred
  93. keyword whole FIXME brightred
  94. keyword whole Note brightred
  95. keyword whole NOTE brightred
  96. keyword whole ToDo brightred
  97. keyword whole TODO brightred
  98. keyword !!\[!\] brightred
  99. keyword ??\[?\] brightred