KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

div.php 3.9KB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?php
  2. /*************************************************************************************
  3. * div.php
  4. * ---------------------------------
  5. * Author: Gabriel Lorenzo (ermakina@gmail.com)
  6. * Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net)
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2005/06/19
  9. *
  10. * DIV language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2005/06/22 (1.0.0)
  15. * - First Release, includes "2nd gen" ELSEIF statement
  16. *
  17. * TODO (updated 2005/06/22)
  18. * -------------------------
  19. * - I'm pretty satisfied with this, so nothing for now... :P
  20. *
  21. *************************************************************************************
  22. *
  23. * This file is part of GeSHi.
  24. *
  25. * GeSHi is free software; you can redistribute it and/or modify
  26. * it under the terms of the GNU General Public License as published by
  27. * the Free Software Foundation; either version 2 of the License, or
  28. * (at your option) any later version.
  29. *
  30. * GeSHi is distributed in the hope that it will be useful,
  31. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  32. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  33. * GNU General Public License for more details.
  34. *
  35. * You should have received a copy of the GNU General Public License
  36. * along with GeSHi; if not, write to the Free Software
  37. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  38. *
  39. ************************************************************************************/
  40. $language_data = array (
  41. 'LANG_NAME' => 'DIV',
  42. 'COMMENT_SINGLE' => array(1 => '//'),
  43. 'COMMENT_MULTI' => array('/*' => '*/'),
  44. 'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
  45. 'QUOTEMARKS' => array("'", '"'),
  46. 'ESCAPE_CHAR' => '',
  47. 'KEYWORDS' => array(
  48. 1 => array(
  49. 'while','until','to','switch','step','return','repeat','loop','if','from','frame','for','end','elseif',
  50. 'else','default','debug','continue','clone','case','break','begin'
  51. ),
  52. 2 => array(
  53. 'xor','whoami','type','sizeof','pointer','or','offset','not','neg','mod','id','dup','and','_ne','_lt',
  54. '_le','_gt','_ge','_eq'
  55. ),
  56. 3 => array(
  57. 'setup_program','program','process','private','local','import','global','function','const',
  58. 'compiler_options'
  59. ),
  60. 4 => array(
  61. 'word','struct','string','int','byte'
  62. ),
  63. ),
  64. 'SYMBOLS' => array(
  65. '(',')','[',']','=','+','-','*','/','!','%','^','&',':',';',',','<','>'
  66. ),
  67. 'CASE_SENSITIVE' => array(
  68. GESHI_COMMENTS => false,
  69. 1 => false,
  70. 2 => false,
  71. 3 => false,
  72. 4 => false,
  73. ),
  74. 'STYLES' => array(
  75. 'KEYWORDS' => array(
  76. 1 => 'color: #0040b1;',
  77. 2 => 'color: #000000;',
  78. 3 => 'color: #000066; font-weight: bold;',
  79. 4 => 'color: #993333;'
  80. ),
  81. 'COMMENTS' => array(
  82. 1 => 'color: #808080; font-style: italic;',
  83. 'MULTI' => 'color: #808080; font-style: italic;'
  84. ),
  85. 'ESCAPE_CHAR' => array(
  86. 0 => ''
  87. ),
  88. 'BRACKETS' => array(
  89. 0 => 'color: #44aa44;'
  90. ),
  91. 'STRINGS' => array(
  92. 0 => 'color: #ff0000;'
  93. ),
  94. 'NUMBERS' => array(
  95. 0 => 'color: #cc66cc;'
  96. ),
  97. 'METHODS' => array(
  98. 0 => 'color: #202020;',
  99. ),
  100. 'SYMBOLS' => array(
  101. 0 => 'color: #44aa44;'
  102. ),
  103. 'REGEXPS' => array(
  104. ),
  105. 'SCRIPT' => array(
  106. )
  107. ),
  108. 'URLS' => array(
  109. 1 => '',
  110. 2 => '',
  111. 3 => '',
  112. 4 => ''
  113. ),
  114. 'OOLANG' => false,
  115. 'OBJECT_SPLITTERS' => array(),
  116. 'REGEXPS' => array(
  117. ),
  118. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  119. 'SCRIPT_DELIMITERS' => array(
  120. ),
  121. 'HIGHLIGHT_STRICT_BLOCK' => array(
  122. )
  123. );
  124. ?>