Permalink
Browse files

upd Geshi to 1.0.8.10

  • Loading branch information...
1 parent cf13c14 commit 5b4e156968d85b4dd60afa29d16e6a75dc40731b @Gemorroj committed with xBBCoder Sep 14, 2011
Showing with 51,432 additions and 17,359 deletions.
  1. +2,863 −931 lib/geshi.php
  2. +139 −0 lib/geshi/4cs.php
  3. +230 −0 lib/geshi/6502acme.php
  4. +241 −0 lib/geshi/6502kickass.php
  5. +189 −0 lib/geshi/6502tasm.php
  6. +168 −0 lib/geshi/68000devpac.php
  7. +1,409 −0 lib/geshi/abap.php
  8. +154 −154 lib/geshi/actionscript.php
  9. +473 −0 lib/geshi/actionscript3.php
  10. +88 −86 lib/geshi/ada.php
  11. +329 −0 lib/geshi/algol68.php
  12. +437 −125 lib/geshi/apache.php
  13. +114 −91 lib/geshi/applescript.php
  14. +148 −0 lib/geshi/apt_sources.php
  15. +179 −152 lib/geshi/asm.php
  16. +116 −105 lib/geshi/asp.php
  17. +512 −0 lib/geshi/autoconf.php
  18. +373 −0 lib/geshi/autohotkey.php
  19. +1,058 −336 lib/geshi/autoit.php
  20. +194 −0 lib/geshi/avisynth.php
  21. +158 −0 lib/geshi/awk.php
  22. +185 −0 lib/geshi/bascomavr.php
  23. +389 −84 lib/geshi/bash.php
  24. +341 −0 lib/geshi/basic4gl.php
  25. +114 −0 lib/geshi/bf.php
  26. +183 −0 lib/geshi/bibtex.php
  27. +131 −131 lib/geshi/blitzbasic.php
  28. +33 −44 lib/geshi/bnf.php
  29. +217 −0 lib/geshi/boo.php
  30. +229 −90 lib/geshi/c.php
  31. +323 −0 lib/geshi/c_loadrunner.php
  32. +186 −133 lib/geshi/c_mac.php
  33. +81 −80 lib/geshi/caddcl.php
  34. +140 −139 lib/geshi/cadlisp.php
  35. +82 −83 lib/geshi/cfdg.php
  36. +240 −266 lib/geshi/cfm.php
  37. +140 −0 lib/geshi/chaiscript.php
  38. +196 −0 lib/geshi/cil.php
  39. +134 −0 lib/geshi/clojure.php
  40. +181 −0 lib/geshi/cmake.php
  41. +244 −0 lib/geshi/cobol.php
  42. +146 −0 lib/geshi/coffeescript.php
  43. +526 −228 lib/geshi/cpp-qt.php
  44. +190 −120 lib/geshi/cpp.php
  45. +210 −188 lib/geshi/csharp.php
  46. 0 lib/geshi/css-gen.cfg
  47. +167 −151 lib/geshi/css.php
  48. +138 −0 lib/geshi/cuesheet.php
  49. +154 −167 lib/geshi/d.php
  50. +182 −0 lib/geshi/dcs.php
  51. +41 −22 lib/geshi/delphi.php
  52. +143 −131 lib/geshi/diff.php
  53. +83 −83 lib/geshi/div.php
  54. +165 −121 lib/geshi/dos.php
  55. +164 −0 lib/geshi/dot.php
  56. +208 −0 lib/geshi/e.php
  57. +210 −0 lib/geshi/ecmascript.php
  58. +354 −353 lib/geshi/eiffel.php
  59. +210 −0 lib/geshi/email.php
  60. +154 −0 lib/geshi/epc.php
  61. +441 −0 lib/geshi/erlang.php
  62. +140 −0 lib/geshi/euphoria.php
  63. +151 −0 lib/geshi/f1.php
  64. +218 −0 lib/geshi/falcon.php
  65. +327 −0 lib/geshi/fo.php
  66. +117 −113 lib/geshi/fortran.php
  67. +105 −101 lib/geshi/freebasic.php
  68. +213 −0 lib/geshi/fsharp.php
  69. +214 −0 lib/geshi/gambas.php
  70. +198 −0 lib/geshi/gdb.php
  71. +463 −0 lib/geshi/genero.php
  72. +157 −0 lib/geshi/genie.php
  73. +97 −0 lib/geshi/gettext.php
  74. +205 −0 lib/geshi/glsl.php
  75. +442 −438 lib/geshi/gml.php
  76. +296 −0 lib/geshi/gnuplot.php
  77. +375 −0 lib/geshi/go.php
  78. +967 −2,073 lib/geshi/groovy.php
  79. +153 −0 lib/geshi/gwbasic.php
  80. +202 −0 lib/geshi/haskell.php
  81. +108 −0 lib/geshi/hicest.php
  82. +104 −0 lib/geshi/hq9plus.php
  83. +137 −201 lib/geshi/html4strict.php
  84. +212 −0 lib/geshi/html5.php
  85. +212 −0 lib/geshi/icon.php
  86. +81 −77 lib/geshi/idl.php
  87. +80 −75 lib/geshi/ini.php
  88. +170 −171 lib/geshi/inno.php
  89. +122 −0 lib/geshi/intercal.php
  90. +71 −72 lib/geshi/io.php
  91. +190 −0 lib/geshi/j.php
  92. +927 −1,332 lib/geshi/java.php
  93. +980 −964 lib/geshi/java5.php
  94. +106 −98 lib/geshi/javascript.php
  95. +238 −0 lib/geshi/jquery.php
  96. +329 −0 lib/geshi/kixtart.php
  97. +282 −0 lib/geshi/klonec.php
  98. +310 −0 lib/geshi/klonecpp.php
  99. +132 −98 lib/geshi/latex.php
  100. +162 −0 lib/geshi/lb.php
  101. +98 −87 lib/geshi/lisp.php
  102. +385 −0 lib/geshi/llvm.php
  103. +130 −0 lib/geshi/locobasic.php
  104. +345 −0 lib/geshi/logtalk.php
  105. +152 −0 lib/geshi/lolcode.php
  106. +318 −0 lib/geshi/lotusformulas.php
  107. +191 −0 lib/geshi/lotusscript.php
  108. +387 −0 lib/geshi/lscript.php
  109. +898 −0 lib/geshi/lsl2.php
  110. +119 −76 lib/geshi/lua.php
  111. +143 −0 lib/geshi/m68k.php
  112. +193 −0 lib/geshi/magiksf.php
  113. +151 −0 lib/geshi/make.php
  114. +908 −0 lib/geshi/mapbasic.php
  115. +176 −816 lib/geshi/matlab.php
  116. +130 −84 lib/geshi/mirc.php
  117. +173 −0 lib/geshi/mmix.php
  118. +136 −0 lib/geshi/modula2.php
  119. +135 −0 lib/geshi/modula3.php
  120. +118 −112 lib/geshi/mpasm.php
  121. +145 −0 lib/geshi/mxml.php
  122. +473 −179 lib/geshi/mysql.php
  123. +191 −0 lib/geshi/newlisp.php
  124. +299 −300 lib/geshi/nsis.php
  125. +135 −0 lib/geshi/oberon2.php
  126. +318 −199 lib/geshi/objc.php
  127. +116 −0 lib/geshi/objeck.php
  128. +70 −70 lib/geshi/ocaml-brief.php
  129. +146 −120 lib/geshi/ocaml.php
  130. +91 −86 lib/geshi/oobas.php
  131. +614 −0 lib/geshi/oracle11.php
  132. +447 −438 lib/geshi/oracle8.php
  133. +152 −0 lib/geshi/oxygene.php
  134. +144 −0 lib/geshi/oz.php
  135. +102 −93 lib/geshi/pascal.php
  136. +188 −0 lib/geshi/pcre.php
  137. +302 −0 lib/geshi/per.php
  138. +166 −120 lib/geshi/perl.php
  139. +197 −0 lib/geshi/perl6.php
  140. +178 −0 lib/geshi/pf.php
  141. +174 −112 lib/geshi/php-brief.php
  142. +989 −229 lib/geshi/php.php
  143. +141 −0 lib/geshi/pic16.php
  144. +103 −0 lib/geshi/pike.php
  145. +176 −0 lib/geshi/pixelbender.php
  146. +200 −0 lib/geshi/pli.php
  147. +219 −219 lib/geshi/plsql.php
  148. +288 −0 lib/geshi/postgresql.php
  149. +199 −0 lib/geshi/povray.php
  150. +418 −0 lib/geshi/powerbuilder.php
  151. +277 −0 lib/geshi/powershell.php
  152. +374 −0 lib/geshi/proftpd.php
  153. +485 −0 lib/geshi/progress.php
  154. +143 −0 lib/geshi/prolog.php
  155. +127 −0 lib/geshi/properties.php
  156. +299 −0 lib/geshi/providex.php
  157. +303 −0 lib/geshi/purebasic.php
  158. +64 −0 lib/geshi/pycon.php
  159. +192 −175 lib/geshi/python.php
  160. +149 −0 lib/geshi/q.php
  161. +107 −94 lib/geshi/qbasic.php
  162. +406 −0 lib/geshi/rails.php
  163. +196 −0 lib/geshi/rebol.php
  164. +181 −162 lib/geshi/reg.php
  165. +5 −3 lib/geshi/robots.php
  166. +133 −0 lib/geshi/rpmspec.php
  167. +483 −0 lib/geshi/rsplus.php
  168. +197 −113 lib/geshi/ruby.php
  169. +74 −141 lib/geshi/sas.php
  170. +122 −0 lib/geshi/scala.php
  171. +128 −128 lib/geshi/scheme.php
  172. +295 −0 lib/geshi/scilab.php
  173. +129 −125 lib/geshi/sdlbasic.php
  174. +113 −118 lib/geshi/smalltalk.php
  175. +150 −124 lib/geshi/smarty.php
  176. +113 −83 lib/geshi/sql.php
  177. +317 −0 lib/geshi/systemverilog.php
  178. +138 −125 lib/geshi/tcl.php
  179. +354 −0 lib/geshi/teraterm.php
  180. +43 −40 lib/geshi/text.php
  181. +826 −597 lib/geshi/thinbasic.php
  182. +334 −341 lib/geshi/tsql.php
  183. +300 −0 lib/geshi/typoscript.php
  184. +210 −0 lib/geshi/unicon.php
  185. +299 −0 lib/geshi/uscript.php
  186. +151 −0 lib/geshi/vala.php
  187. +117 −108 lib/geshi/vb.php
  188. +161 −157 lib/geshi/vbnet.php
  189. +173 −0 lib/geshi/verilog.php
  190. +32 −26 lib/geshi/vhdl.php
  191. +420 −0 lib/geshi/vim.php
  192. +413 −399 lib/geshi/visualfoxpro.php
  193. +129 −0 lib/geshi/visualprolog.php
  194. +121 −0 lib/geshi/whitespace.php
  195. +181 −0 lib/geshi/whois.php
  196. +324 −322 lib/geshi/winbatch.php
  197. +143 −0 lib/geshi/xbasic.php
  198. +110 −98 lib/geshi/xml.php
  199. +124 −0 lib/geshi/xorg_conf.php
  200. +436 −0 lib/geshi/xpp.php
  201. +150 −0 lib/geshi/yaml.php
  202. +144 −133 lib/geshi/z80.php
  203. +150 −0 lib/geshi/zxbasic.php
View
Oops, something went wrong.
View
@@ -0,0 +1,139 @@
+<?php
+/*************************************************************************************
+ * 4cs.php
+ * ------
+ * Author: Jason Curl (jason.curl@continental-corporation.com)
+ * Copyright: (c) 2009 Jason Curl
+ * Release Version: 1.0.8.10
+ * Date Started: 2009/09/05
+ *
+ * 4CS language file for GeSHi.
+ *
+ * CHANGES
+ * -------
+ * 2009/09/05
+ * - First Release
+ *
+ * TODO (updated 2009/09/01)
+ * -------------------------
+ *
+ *************************************************************************************
+ *
+ * This file is part of GeSHi.
+ *
+ * GeSHi is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GeSHi is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GeSHi; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ ************************************************************************************/
+
+$language_data = array (
+ 'LANG_NAME' => 'GADV 4CS',
+ 'COMMENT_SINGLE' => array(1 => "//"),
+ 'COMMENT_MULTI' => array(),
+ 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
+ 'QUOTEMARKS' => array('"'),
+ 'ESCAPE_CHAR' => '',
+ 'KEYWORDS' => array(
+ 1 => array(
+ 'All', 'AllMatches', 'And', 'And_Filters', 'As', 'Asc', 'BasedOn',
+ 'BestMatch', 'Block', 'Buffer', 'ByRef', 'ByVal', 'Call', 'Channel',
+ 'Chr', 'Clear', 'Close', 'Confirm', 'Const', 'Continue', 'Cos',
+ 'Critical', 'Declare', 'Default', 'DefaultChannel', 'DefaultDelayTime',
+ 'DefaultReceiveMode', 'DefaultResponseTime', '#Define', 'DelayTime',
+ 'Delete', 'Div', 'Else', '#Else', 'ElseIf', '#ElseIf', 'End', 'EndCritical',
+ 'EndInlineC', 'EndFunction', 'EndIf', '#EndIf', 'EndInputList',
+ 'EndLocalChannel', 'EndScenario', 'EndSub', 'EndWhile', 'Error',
+ 'ErrorLevelOff', 'ErrorLevelOn', 'ErrorLevelSet', 'ErrorLevelSetRaw',
+ 'Event', 'EventMode', 'EventOff', 'EventOn', 'EventSet', 'EventSetRaw',
+ 'Execute', 'Exit', 'Exp', 'FileClose', 'FilterClear', 'FileEOF', 'FileOpen',
+ 'FileRead', 'FileSize', 'FileWrite', 'FilterAdd', 'FilterMode',
+ 'FilterOff', 'FilterOn', 'For', 'Format', 'Function', 'GoOnline', 'GoTo',
+ 'Handle', 'Hide', 'If', '#If', '#IfDef', '#IfNDef', 'Ignore', '#Include',
+ 'InlineC', 'Input', 'InputItem', 'InputList', 'Kill', 'LBound', 'LocalChannel',
+ 'Local', 'Log', 'Log10', 'LogOff', 'LogOn', 'Loop', 'Message', 'Mod',
+ 'MonitorChannel', 'MostFormat', 'MostMessage', 'Named', 'Never', 'Next',
+ 'NoOrder', 'Not', 'Nothing', 'NoWait', 'Numeric', 'OnError', 'OnEvent',
+ 'Or', 'Or_Filters', 'Order', 'Pass', 'Pow', 'Prototype', 'Quit', 'Raise',
+ 'Random', 'Receive', 'ReceiveMode', 'ReceiveRaw', 'Redim', 'Remote', 'Repeat',
+ 'Repeated', 'ResponseTime', 'Resume', 'ResumeCritical', 'RT_Common',
+ 'RT_Dll_Call', 'RT_FILEIO', 'RT_General', 'RT_HardwareAccess',
+ 'RT_MessageVariableAccess', 'RT_Scenario', 'RT_VariableAccess', 'Runtime',
+ 'Scenario', 'ScenarioEnd', 'ScenarioStart', 'ScenarioStatus', 'ScenarioTerminate',
+ 'Send', 'SendRaw', 'Set', 'SetError', 'Sin', 'Single', 'Show', 'Start',
+ 'StartCritical', 'Starts', 'Static', 'Step', 'Stop', 'String', 'Sub',
+ 'System_Error', 'TerminateAllChilds', 'Terminates', 'Then', 'Throw', 'TimeOut',
+ 'To', 'TooLate', 'Trunc', 'UBound', 'Unexpected', 'Until', 'User_Error',
+ 'View', 'Wait', 'Warning', 'While', 'XOr'
+ ),
+ 2 => array(
+ 'alias', 'winapi', 'long', 'char', 'double', 'float', 'int', 'short', 'lib'
+ )
+ ),
+ 'SYMBOLS' => array(
+ '=', ':=', '<', '>', '<>'
+ ),
+ 'CASE_SENSITIVE' => array(
+ GESHI_COMMENTS => false,
+ 1 => false,
+ 2 => false
+ ),
+ 'STYLES' => array(
+ 'KEYWORDS' => array(
+ 1 => 'color: #0000C0; font-weight: bold;',
+ 2 => 'color: #808080;'
+ ),
+ 'COMMENTS' => array(
+ 1 => 'color: #008000;'
+ ),
+ 'BRACKETS' => array(
+ 0 => 'color: #000080;'
+ ),
+ 'STRINGS' => array(
+ 0 => 'color: #800080;'
+ ),
+ 'NUMBERS' => array(
+ 0 => 'color: #cc66cc;'
+ ),
+ 'METHODS' => array(
+ 1 => 'color: #66cc66;'
+ ),
+ 'SYMBOLS' => array(
+ 0 => 'color: #000080;'
+ ),
+ 'ESCAPE_CHAR' => array(
+ 0 => 'color: #000099;'
+ ),
+ 'SCRIPT' => array(
+ ),
+ 'REGEXPS' => array(
+ )
+ ),
+ 'URLS' => array(
+ 1 => '',
+ 2 => ''
+ ),
+ 'OOLANG' => true,
+ 'OBJECT_SPLITTERS' => array(
+ 1 => '.'
+ ),
+ 'REGEXPS' => array(
+ ),
+ 'STRICT_MODE_APPLIES' => GESHI_NEVER,
+ 'SCRIPT_DELIMITERS' => array(
+ ),
+ 'HIGHLIGHT_STRICT_BLOCK' => array(
+ )
+);
+
+?>
View
@@ -0,0 +1,230 @@
+<?php
+/*************************************************************************************
+ * 6502acme.php
+ * -------
+ * Author: Warren Willmey
+ * Copyright: (c) 2010 Warren Willmey.
+ * Release Version: 1.0.8.10
+ * Date Started: 2010/05/26
+ *
+ * MOS 6502 (more specifically 6510) ACME Cross Assembler 0.93 by Marco Baye language file for GeSHi.
+ *
+ * CHANGES
+ * -------
+ * 2010/07/22
+ * - First Release
+ *
+ * TODO (updated 2010/07/22)
+ * -------------------------
+ *
+ *************************************************************************************
+ *
+ * This file is part of GeSHi.
+ *
+ * GeSHi is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GeSHi is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GeSHi; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ ************************************************************************************/
+
+$language_data = array (
+ 'LANG_NAME' => 'MOS 6502 (6510) ACME Cross Assembler format',
+ 'COMMENT_SINGLE' => array(1 => ';'),
+ 'COMMENT_MULTI' => array(),
+ 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
+ 'QUOTEMARKS' => array("'", '"'),
+ 'ESCAPE_CHAR' => '',
+ 'KEYWORDS' => array(
+ /* 6502/6510 Opcodes. */
+ 1 => array(
+ 'adc', 'and', 'asl', 'bcc', 'bcs', 'beq', 'bit', 'bmi',
+ 'bne', 'bpl', 'brk', 'bvc', 'bvs', 'clc', 'cld', 'cli',
+ 'clv', 'cmp', 'cpx', 'cpy', 'dec', 'dex', 'dey', 'eor',
+ 'inc', 'inx', 'iny', 'jmp', 'jsr', 'lda', 'ldx', 'ldy',
+ 'lsr', 'nop', 'ora', 'pha', 'php', 'pla', 'plp', 'rol',
+ 'ror', 'rti', 'rts', 'sbc', 'sec', 'sed', 'sei', 'sta',
+ 'stx', 'sty', 'tax', 'tay', 'tsx', 'txa', 'txs', 'tya',
+ ),
+ /* Index Registers, yes the 6502 has other registers by they are only
+ * accessable by specific opcodes. The 65816 also has access to the stack pointer S. */
+ 2 => array(
+ 'x', 'y', 's'
+ ),
+ /* Directives or "pseudo opcodes" as defined by ACME 0.93 file AllPOs.txt. */
+ 3 => array(
+ '!8', '!08', '!by', '!byte',
+ '!16', '!wo', '!word',
+ '!24', '!32',
+ '!fi', '!fill',
+ '!align',
+ '!ct', '!convtab',
+ '!tx', '!text',
+ '!pet',
+ '!raw',
+ '!scrxor',
+ '!to',
+ '!source',
+ '!bin', '!binary',
+ '!zn', '!zone',
+ '!sl',
+ '!svl',
+ '!sal',
+ '!if', '!ifdef',
+ '!for',
+ '!set',
+ '!do', 'while', 'until',
+ '!eof', '!endoffile',
+ '!warn', '!error', '!serious',
+ '!macro',
+// , '*=' // Not a valid keyword (uses both * and = signs) moved to symbols instead.
+ '!initmem',
+ '!pseudopc',
+ '!cpu',
+ '!al', '!as', '!rl', '!rs',
+ ),
+
+ /* 6502/6510 undocumented opcodes (often referred to as illegal instructions).
+ * These are present in the 6502/6510 but NOT in the newer CMOS revisions of the 65C02 or 65816.
+ * As they are undocumented instructions there are no "official" names for them, there are also
+ * several more that mainly perform various forms of crash and are not supported by ACME 0.93.
+ */
+ 4 => array(
+ 'anc', 'arr', 'asr', 'dcp', 'dop', 'isc', 'jam', 'lax',
+ 'rla', 'rra', 'sax', 'sbx', 'slo', 'sre', 'top',
+ ),
+ /* 65c02 instructions, MOS added a few (much needed) instructions in the CMOS version of the 6502, but stupidly removed the undocumented/illegal opcodes.
+ * ACME 0.93 does not support the rmb0-7 and smb0-7 instructions (they are currently rem'ed out). */
+ 5 => array(
+ 'bra', 'phx', 'phy', 'plx', 'ply', 'stz', 'trb', 'tsb'
+ ),
+ /* 65816 instructions. */
+ 6 => array(
+ 'brl', 'cop', 'jml', 'jsl', 'mvn', 'mvp', 'pea', 'pei',
+ 'per', 'phb', 'phd', 'phk', 'plb', 'pld', 'rep', 'rtl',
+ 'sep', 'tcd', 'tcs', 'tdc', 'tsc', 'txy', 'tyx', 'wdm',
+ 'xba', 'xce',
+ ),
+ /* Deprecated directives or "pseudo opcodes" as defined by ACME 0.93 file AllPOs.txt. */
+ 7 => array(
+ '!cbm',
+ '!sz', '!subzone',
+ '!realpc',
+ ),
+ /* Math functions, some are aliases for the symbols. */
+ 8 => array(
+ 'not', 'div', 'mod', 'xor', 'or', 'sin', 'cos', 'tan',
+ 'arcsin', 'arccos', 'arctan', 'int', 'float',
+
+ ),
+
+ ),
+ 'SYMBOLS' => array(
+// '[', ']', '(', ')', '{', '}', // These are already defined by GeSHi as BRACKETS.
+ '*=', '#', '!', '^', '-', '*', '/',
+ '%', '+', '-', '<<', '>>', '>>>',
+ '<', '>', '^', '<=', '<', '>=', '>', '!=',
+ '=', '&', '|', '<>',
+ ),
+ 'CASE_SENSITIVE' => array(
+ GESHI_COMMENTS => false,
+ 1 => false,
+ 2 => false,
+ 3 => false,
+ 4 => false,
+ 5 => false,
+ 6 => false,
+ 7 => false,
+ 8 => false,
+ ),
+ 'STYLES' => array(
+ 'KEYWORDS' => array(
+ 1 => 'color: #00f; font-weight:bold;',
+ 2 => 'color: #00f; font-weight:bold;',
+ 3 => 'color: #080; font-weight:bold;',
+ 4 => 'color: #f00; font-weight:bold;',
+ 5 => 'color: #80f; font-weight:bold;',
+ 6 => 'color: #f08; font-weight:bold;',
+ 7 => 'color: #a04; font-weight:bold; font-style: italic;',
+ 8 => 'color: #000;',
+ ),
+ 'COMMENTS' => array(
+ 1 => 'color: #999; font-style: italic;',
+ ),
+ 'ESCAPE_CHAR' => array(
+ 0 => 'color: #009; font-weight: bold;'
+ ),
+ 'BRACKETS' => array(
+ 0 => 'color: #000;'
+ ),
+ 'STRINGS' => array(
+ 0 => 'color: #080;'
+ ),
+ 'NUMBERS' => array(
+ GESHI_NUMBER_INT_BASIC => 'color: #f00;',
+ GESHI_NUMBER_HEX_PREFIX_DOLLAR => 'color: #f00;',
+ GESHI_NUMBER_HEX_PREFIX => 'color: #f00;',
+ GESHI_NUMBER_BIN_PREFIX_PERCENT => 'color: #f00;',
+ GESHI_NUMBER_FLT_NONSCI => 'color: #f00;',
+ ),
+ 'METHODS' => array(
+ ),
+ 'SYMBOLS' => array(
+ 0 => 'color: #080;'
+ ),
+ 'REGEXPS' => array(
+ 0 => 'color: #f00;'
+ , 1 => 'color: #933;'
+ ),
+ 'SCRIPT' => array(
+ )
+ ),
+ 'URLS' => array(
+ 1 => '',
+ 2 => '',
+ 3 => '',
+ 4 => '',
+ 5 => '',
+ 6 => '',
+ 7 => '',
+ 8 => '',
+ ),
+ 'OOLANG' => false,
+ 'OBJECT_SPLITTERS' => array(
+ ),
+ 'NUMBERS' =>
+ GESHI_NUMBER_INT_BASIC |
+ GESHI_NUMBER_FLT_NONSCI |
+ GESHI_NUMBER_HEX_PREFIX_DOLLAR |
+ GESHI_NUMBER_HEX_PREFIX |
+ GESHI_NUMBER_BIN_PREFIX_PERCENT,
+ // AMCE Octal format not support and gets picked up as Decimal unfortunately.
+ 'REGEXPS' => array(
+ //ACME .# Binary number format. e.g. %..##..##..##
+ 0 => '\%[\.\#]{1,64}',
+ //ACME Local Labels
+ 1 => '\.[_a-zA-Z][_a-zA-Z0-9]*',
+ ),
+ 'STRICT_MODE_APPLIES' => GESHI_NEVER,
+ 'SCRIPT_DELIMITERS' => array(
+ ),
+ 'HIGHLIGHT_STRICT_BLOCK' => array(
+ ),
+ 'TAB_WIDTH' => 8,
+ 'PARSER_CONTROL' => array(
+ 'NUMBERS' => array(
+ 'PRECHECK_RX' => '/[\da-fA-F\.\$\%]/'
+ )
+ )
+);
+
+?>
Oops, something went wrong.

0 comments on commit 5b4e156

Please sign in to comment.