Advertisement
lucasgautheron

geshi cubescript

Nov 12th, 2011
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 18.08 KB | None | 0 0
  1. <?php
  2. /*************************************************************************************
  3.  * cubescript.php
  4.  * --------
  5.  * Author: GAUTHERON Lucas and Florian Schulte
  6.  * Copyright: (c) 2011 RabidViper Productions
  7.  * Release Version: 1.1.0.0
  8.  * Date Started: 2008/04/06
  9.  * Ver. 1.1.0.0: 2011/09/06
  10.  *
  11.  * AssaultCube/CubeScript language file for GeSHi.
  12.  *
  13.  *************************************************************************************
  14.  *
  15.  *     This file is part of GeSHi.
  16.  *
  17.  *   GeSHi is free software; you can redistribute it and/or modify
  18.  *   it under the terms of the GNU General Public License as published by
  19.  *   the Free Software Foundation; either version 2 of the License, or
  20.  *   (at your option) any later version.
  21.  *
  22.  *   GeSHi is distributed in the hope that it will be useful,
  23.  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  24.  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  25.  *   GNU General Public License for more details.
  26.  *
  27.  *   You should have received a copy of the GNU General Public License
  28.  *   along with GeSHi; if not, write to the Free Software
  29.  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  30.  *
  31.  ************************************************************************************/
  32.  
  33. $language_data = array(
  34.     'LANG_NAME' => 'CubeScript',
  35.     'COMMENT_SINGLE' => array(1 => '//'),
  36.     'COMMENT_MULTI' => NULL,
  37.     'COMMENT_REGEXP' => NULL,
  38.     'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  39.     'QUOTEMARKS' => array('"'),
  40.     'ESCAPE_CHAR' => '',
  41.     'ESCAPE_REGEXP' => NULL,
  42.     'HARDQUOTE' => NULL,
  43.     'HARDESCAPE' => NULL,
  44.     'HARDCHAR' => NULL,
  45.     'NUMBERS' =>
  46.         GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_FLT_SCI_ZERO,
  47.     'KEYWORDS' => array(
  48.         1 => array(
  49.             'if', 'else', 'while', 'echo', 'loop', 'looplist', 'break', 'continue',
  50.             'echo','print'
  51.             ),
  52.         2 => array(
  53.             'alias', 'const'
  54.             ),
  55.         3 => array('<',
  56. '<=', '=', '>', '>=',
  57. '||', '-', '!', '!=',
  58. '*', '&&', '+', 'add2alias',
  59. 'add2bind', 'add2list', 'addpunct', 'alias',
  60. 'aliasinit', 'at', 'break', 'c',
  61. 'ceil', 'checkalias', 'checkinit', 'concat',
  62. 'concatword', 'const', 'continue', 'convertcase',
  63. 'curplayers', 'div', 'divf', 'execute',
  64. '<f', '<=f', '=f', '>f',
  65. '>=f', '-f', '!=f', '*f',
  66. '+f', 'findcn', 'findlist', 'findpn',
  67. 'floor', 'format', 'getalias', 'if',
  68. 'isconst', 'isIdent', 'l0', 'listaverage',
  69. 'listlen', 'loop', 'looplist', 'mod',
  70. 'modf', 'numargs', 'persistidents', 'pop',
  71. 'powf', 'push', 'resetsleeps', 'result',
  72. 'return', 'rnd', 'round', 'sleep',
  73. 'storesets', 'strcmp', 'strins', 'strlen',
  74. 'strpos', 'strreplace', 'strstr', 'substr',
  75. 'testchar', 'testlist', 'tolower', 'toupper',
  76. 'while', 'addserver', 'allowhudechos', 'attack',
  77. 'autogetmap', 'autogetnewmaprevisions', 'autoscreenshot', 'backward',
  78. 'bind', 'browsefiledesc', 'changeteam', 'cleanshot',
  79. 'clearservers', 'clockerror', 'clockfix', 'connected',
  80. 'datestring', 'dbgts', 'debugargs', 'echo',
  81. 'exec', 'forward', 'gamemode', 'getEngineState',
  82. 'getmode', 'getscrext', 'hudecho', 'invmouse',
  83. 'jpegquality', 'jump', 'keymap', 'left',
  84. 'mapshot', 'maxfps', 'maxroll', 'maxtmus',
  85. 'megabind', 'menudirlist', 'millis', 'minlod',
  86. 'modeacronyms', 'networkdebug', 'numconlines', 'onrelease',
  87. 'physinterp', 'pngcompress', 'quit', 'registermusic',
  88. 'resetbinds', 'resetcfg', 'resetsecuremaps', 'right',
  89. 'screenshot', 'screenshotscale', 'screenshottype', 'securemap',
  90. 'sensitivity', 'smoothdist', 'smoothmove', 'soundtest',
  91. 'systime', 'throttle_accel', 'throttle_decel', 'throttle_interval',
  92. 'timestamp', 'timestring', 'toggleconsole', 'tsswap',
  93. 'updatefrommaster', 'version', 'writecfg', 'addbot',
  94. 'addListOnQuit', 'addnbot', 'addOnQuit', 'akimboautoswitch',
  95. 'akimboendaction', 'alive', 'autoreload', 'benchme',
  96. 'botskill', 'botskillall', 'botsshoot', 'changefollowplayer',
  97. 'clearignored', 'clearmuted', 'complete', 'connect',
  98. 'connectadmin', 'crouch', 'curautoteam', 'curmap',
  99. 'curmaprevision', 'curmastermode', 'curmode', 'curmodeattr',
  100. 'currentprimary', 'currole', 'curserver', 'curteam',
  101. 'curweapon', 'demo', 'disconnect', 'drawbeamtobots',
  102. 'dropflag', 'footstepalign', 'footsteps', 'gamespeed',
  103. 'gametimecurrent', 'gametimemaximum', 'gametimestart', 'getclientmode',
  104. 'getdemo', 'getmap', 'hidecustomskins', 'hitsound',
  105. 'idlebots', 'ignore', 'inputcommand', 'inWater',
  106. 'isclient', 'kickallbots', 'kickbot', 'lanconnect',
  107. 'lastgametimeupdate', 'listcomplete', 'listdemos', 'listignored',
  108. 'listmuted', 'loadcrosshair', 'localfootsteps', 'magcontent',
  109. 'magreserve', 'map', 'mapname', 'mapsize',
  110. 'mapstartalways', 'mapstartonce', 'mdldyncache', 'mdlstatcache',
  111. 'me', 'minutesremaining', 'modconnect', 'modconnectadmin',
  112. 'modlanconnect', 'muteplayer', 'name', 'nextprimary',
  113. 'nickcomplete', 'onAttack', 'onCallVote', 'onChangeVote',
  114. 'onConnect', 'onDisconnect', 'onFlag', 'onHit',
  115. 'onKill', 'onLastMin', 'onNameChange', 'onPickup',
  116. 'onSpawn', 'onVoteEnd', 'onWeaponSwitch', 'paused',
  117. 'pm', 'prevweapon', 'pstat_score', 'pstat_weap',
  118. 'reload', 'rewind', 'say', 'saycommand',
  119. 'scopefov', 'setfollowplayer', 'setmr', 'setscope',
  120. 'shiftweapon', 'showmap', 'showmapbackdrop', 'showscores',
  121. 'showscoresondeath', 'skin', 'skin_cla', 'skin_rvsf',
  122. 'spectatemode', 'start_intermission', 'stopdemo', 'suicide',
  123. 'survival', 'team', 'togglespect', 'voicecom',
  124. 'voicecomsounds', 'vote', 'votepending', 'watchingdemo',
  125. 'weapon', 'whois', 'xhairwpsel', 'addpath1way1',
  126. 'addpath1way2', 'addpath2way1', 'addpath2way2', 'addwp',
  127. 'advancemaprevision', 'ambientsoundvol', 'applymapsoundchanges', 'arch',
  128. 'archvertex', 'autowp', 'checkmapdependencies', 'clearents',
  129. 'closestenttype', 'copy', 'copyent', 'corner',
  130. 'countwalls', 'delent', 'delpath1way1', 'delpath1way2',
  131. 'delpath2way1', 'delpath2way2', 'delwp', 'editaxis',
  132. 'editheight', 'editing', 'edittag', 'edittex',
  133. 'edittoggle', 'entproperty', 'entset', 'entstats',
  134. 'equalize', 'flrceil', 'flyspeed', 'fullbright',
  135. 'getentattr', 'getenttype', 'getmapmsg', 'heightfield',
  136. 'lightscale', 'listmapdependencies', 'listmapdependencies_all', 'mapbackupsonsave',
  137. 'Map editing', 'mapenlarge', 'mapmsg', 'mapshrink',
  138. 'movemap', 'newent', 'newent akimbo', 'newent ammobox',
  139. 'newent armour', 'newent clip', 'newent ctf-flag', 'newent grenades',
  140. 'newent health', 'newent helmet', 'newent ladder', 'newent light',
  141. 'newent mapmodel', 'newent pistol', 'newent playerstart', 'newent plclip',
  142. 'newent sound', 'newmap', 'nextclosestent', 'nextplayerstart',
  143. 'old_editbinds', 'oldselstyle', 'onNewMap', 'paste',
  144. 'pasteent', 'perlin', 'recalc', 'registersound',
  145. 'replace', 'savemap', 'scalelights', 'select',
  146. 'selectionflip', 'selectionrotate', 'selx', 'selxs',
  147. 'sely', 'selys', 'setjumpwp', 'settex',
  148. 'setwpyaw', 'showmip', 'showmodelclipping', 'slope',
  149. 'solid', 'telebot', 'testvisible', 'togglebotview',
  150. 'togglegrap', 'toggleocull', 'undo', 'undomegs',
  151. 'unsetjumpwp', 'vdelta', 'waterlevel', 'wpclear',
  152. 'wpflood', 'wpinfo', 'wpload', 'wpsave',
  153. 'wpvisible', 'chmenumdl', 'closemenu', 'delmenu',
  154. 'menuinit', 'menuinitselection', 'menuitem', 'menuitemcheckbox',
  155. 'menuitemimage', 'menuitemkeyinput', 'menuitemslider', 'menuitemtextinput',
  156. 'menuitemvar', 'menumdl', 'menuselection', 'menuselectionbgcolor',
  157. 'newmenu', 'showmenu', 'aboveheadiconfadetime', 'altconsize',
  158. 'clearminimap', 'clockdisplay', 'cncolumncolor', 'confade',
  159. 'consize', 'conskip', 'crosshairfx', 'crosshairsize',
  160. 'crosshairteamsign', 'damageindicatoralpha', 'damageindicatordist', 'damageindicatorsize',
  161. 'damageindicatortime', 'disablehud', 'enablehud', 'fullconsize',
  162. 'hidebigmenuimages', 'hidecompass', 'hideconsole', 'hidectfhud',
  163. 'hidedamageindicator', 'hidehudequipment', 'hidehudmsgs', 'hideradar',
  164. 'hidespecthud', 'hideteam', 'hidevote', 'history',
  165. 'hudextras', 'hudgun', 'maxcon', 'maxhistory',
  166. 'maxrecoil', 'minimapres', 'nosway', 'oldfashionedgunstats',
  167. 'orderscorecolumns', 'radarentsize', 'radarheight', 'recoilbackfade',
  168. 'recoilbase', 'recoilincrease', 'recoiltest', 'righthanded',
  169. 'showstats', 'showtargetname', 'spechudgun', 'swaymovediv',
  170. 'swayspeeddiv', 'swayupmovediv', 'swayupspeeddiv', 'aadynshadow',
  171. 'aboveheadiconsize', 'animationinterpolationtime', 'ati_mda_bug', 'bilinear',
  172. 'blood', 'bloodttl', 'bullethole', 'bulletholettl',
  173. 'colorbits', 'damagescreen', 'damagescreenalpha', 'damagescreenfactor',
  174. 'damagescreenfade', 'dbgmbatch', 'dbgpos', 'dbgstenc',
  175. 'dbgtiles', 'dbgvlight', 'depthbits', 'depthoffset',
  176. 'dyngamma', 'dynlight', 'dynshadow', 'dynshadowdecay',
  177. 'dynshadowquad', 'dynshadowsize', 'font', 'fontchar',
  178. 'fov', 'fovcompat', 'fpsrange', 'fragmessage',
  179. 'fsaa', 'fullbrightlevel', 'fullscreen', 'gamma',
  180. 'gib', 'gibmessage', 'gibnum', 'gibsgore',
  181. 'gibspeed', 'gibttl', 'glext', 'heartbeat',
  182. 'hwtexsize', 'lighterror', 'maploaditemlength', 'maxtexsize',
  183. 'mergestrips', 'mtexplosion', 'mtwater', 'particlesize',
  184. 'polygonoffsetfactor', 'polygonoffsetunits', 'popdeadplayers', 'reflectclip',
  185. 'reflectscissor', 'reflectsize', 'resetgl', 'saveshadows',
  186. 'scorch', 'scorchttl', 'screenres', 'scr_h',
  187. 'scr_w', 'setfont', 'setgamma', 'shadowcasters',
  188. 'shadowclip', 'shadowtile', 'shotline', 'shotlinettl',
  189. 'skyclip', 'spectfov', 'stencilbits', 'stencilshadow',
  190. 'teamdisplaymode', 'trilinear', 'vsync', 'waterreflect',
  191. 'waterrefract', 'watersubdiv', 'al_referencedistance', 'al_rollofffactor',
  192. 'audio', 'audiodebug', 'bulletairsound', 'bulletairsounddestrad',
  193. 'bulletairsoundrad', 'bulletairsoundsourcerad', 'bulletbouncesound', 'bulletbouncesoundrad',
  194. 'gainscale', 'mapsoundrefresh', 'maxsoundsatonce', 'music',
  195. 'musicvol', 'mutesound', 'sound', 'soundchannels',
  196. 'soundmuted', 'soundscheddistancescore', 'soundschedoldbonus', 'soundschedpriorityscore',
  197. 'soundschedreserve', 'soundvol', 'unmuteallsounds', 'docargument',
  198. 'docexample', 'docfind', 'docident', 'docinvalid',
  199. 'dockey', 'docref', 'docremark', 'docsection',
  200. 'docskip', 'docundone', 'docvisible', 'docwritebaseref',
  201. 'addfavcategory', 'autoteam', 'ban', 'callvote',
  202. 'deleteservermap', 'forceme', 'forceteam', 'giveadmin',
  203. 'hidefavicons', 'kick', 'listfavcats', 'mastermode',
  204. 'masterupdatefrequency', 'maxservpings', 'removebans', 'searchlan',
  205. 'searchnickname', 'sendmap', 'serverbrowserhidefavtag', 'serverbrowserhideip',
  206. 'serverdesc', 'serverextension', 'serversort', 'serversortdir',
  207. 'serversortpreferofficial', 'servpingrate', 'setadmin', 'showallservers',
  208. 'showminremain', 'shownamesinbrowser', 'showonlyfavourites', 'showonlygoodservers',
  209. 'showweights', 'coop', 'ctf', 'dm',
  210. 'gamemodedesc', 'htf', 'ktf', 'lms',
  211. 'lss', 'mode', 'osok', 'pf',
  212. 'setbottimeout', 'tdm', 'tktf', 'tosok',
  213. 'ts', 'vip', 'fog', 'fogcolour',
  214. 'isolatecontext', 'loadnotexture', 'loadsky', 'mapmodel',
  215. 'mapmodelreset', 'mapsound', 'mapsoundreset', 'md2anim',
  216. 'md2emit', 'md2tag', 'md3anim', 'md3emit',
  217. 'md3link', 'md3load', 'md3skin', 'mdlalphatest',
  218. 'mdlcachelimit', 'mdlcullface', 'mdlscale', 'mdlshadowdist',
  219. 'mdltrans', 'mdltranslucent', 'mdlvertexlight', 'scriptcontext',
  220. 'sealcontexts', 'shadowyaw', 'texture', 'texturereset',
  221. 'watercolour', 'addzip', 'allowblinkingtext', 'ambient',
  222. 'applydialog', 'autoscopesens', 'cleardemos', 'demonameformat',
  223. 'demotimeformat', 'demotimelocal', 'fontskip', 'getdemonameformat',
  224. 'getdemotimeformat', 'gettext', 'hirestextures', 'interms',
  225. 'mapdimsfactor', 'maxrollremote', 'mdldlist', 'menucanblink',
  226. 'menufont', 'menuitemmapload', 'mfilter', 'mouseaccel',
  227. 'musicpreload', 'quicknadethrow', 'removezip', 'scopesensscale',
  228. 'scorefont', 'sensitivityscale', 'setburst', 'setedithide',
  229. 'seteditshow', 'setwptriggernr', 'showedithide', 'showmapbackdroptransparency',
  230. 'shuffleteam', 'testvel', 'texreduce', 'texturescale'),
  231.         4 => array(
  232.             '$gamma',
  233. '$lighterror', '$masterupdatefrequency', '$scopefov',
  234. '$dynshadowquad', '$aboveheadiconsize', '$bulletholettl',
  235. '$autoscreenshot', '$showstats', '$mfilter',
  236. '$soundvol', '$serversort', '$damagescreenfade',
  237. '$gibspeed', '$maxtrail',
  238. '$gibnum', '$dynshadowdecay',
  239. '$modeacronyms', '$swayupspeeddiv', '$stencilshadow',
  240. '$aboveheadiconfadetime', '$clockerror', '$teamdisplaymode',
  241. '$voicecomsounds', '$reflectsize', '$showmapbackdroptransparency', '$footsteps',
  242. '$damagescreenalpha', '$radarentsize', '$scorefont', '$radarheight',
  243. '$audiodebug', '$mtwater', '$texreduce', '$showtargetname',
  244. '$hideconsole', '$clockfix', '$localfootsteps',
  245. '$texturescale', '$mapsoundrefresh', '$oldselstyle', '$soundschedpriorityscore',
  246. '$watersubdiv', '$gibttl', '$bulletairsoundrad',
  247. '$saveshadows', '$shotlinettl',
  248. '$dynshadow', '$damageindicatorsize',
  249. '$browsefiledesc', '$mouseaccel', '$crosshairsize', '$screenshotscale',
  250. '$hudextras', '$hidecustomskins', '$autogetnewmaprevisions', '$aniso',
  251. '$bulletbouncesoundrad', '$serversortpreferofficial', '$confade',
  252. '$bloodttl', '$hidefavicons', '$scorchttl', '$hitsound',
  253. '$maxfps', '$sensitivity',
  254. '$popdeadplayers', '$hidedamageindicator',
  255. '$jpegquality', '$hidecompass', '$damageindicatoralpha', '$soundschedreserve',
  256. '$scorch', '$serversortdir', '$damageindicatordist',
  257. '$hidehudequipment', '$fullbrightlevel', '$bulletairsounddestrad',
  258. '$maxhistory', '$hudgun', '$bullethole', '$fullconsize',
  259. '$swayupmovediv', '$smoothmove', '$maxtexsize', '$shotline',
  260. '$damagescreenfactor', '$maploaditemlength', '$mapstats_hud',
  261. '$waterrefract', '$animationinterpolationtime', '$scopesensfeel',
  262. '$blood', '$bulletairsoundsourcerad', '$allowhudechos', '$altconsize',
  263. '$hidectfhud', '$sensitivityscale', '$musicvol',
  264. '$quicknade_hold', '$swayspeeddiv', '$servpingrate',
  265. '$invmouse', '$minimapres', '$waterreflect',
  266. '$compatibilitymode', '$minlod', '$hirestextures',
  267. '$showminremain', '$maxsoundsatonce', '$serverbrowserhideip', '$nosway',
  268. '$showmapbackdrop', '$crosshairteamsign', '$smoothdist',
  269. '$clockdisplay', '$pngcompress',
  270. '$soundschedoldbonus', '$autoauth', '$damagescreen', '$cncolumncolor',
  271. '$mtexplosion', '$serverbrowserhidefavtag',
  272. '$screenshottype', '$applydialog',
  273. '$allowblinkingtext', '$spechudgun',
  274. '$oldfashionedgunstats', '$aadynshadow', '$dynshadowsize', '$akimboendaction',
  275. '$damageindicatortime', '$hideradar', '$showonlygoodservers',
  276. '$hidevote', '$maxcon', '$autoreload',
  277. '$gainscale', '$scopesensscale', '$heartbeat', '$mapbackupsonsave',
  278. '$spectfov', '$hidebigmenuimages', '$soundscheddistancescore',
  279. '$accuracy', '$maxservpings', '$showscoresondeath', '$consize',
  280. '$scopesens', '$orderscorecolumns', '$mdldlist', '$righthanded',
  281. '$dbgpos', '$nextprimary', '$crosshairfx', '$akimboautoswitch',
  282. '$gib', '$hidespecthud',
  283. '$trilinear', '$fov', '$maxrollremote', '$networkdebug',
  284. '$autoscopesens', '$bulletbouncesound', '$flyspeed', '$autogetmap',
  285. '$maxroll', '$swaymovediv',
  286. '$bilinear', '$hidehudmsgs', '$hideteam', '$bulletairsound'
  287.             )
  288.         ),
  289.     'SYMBOLS' => array(
  290.         0 => array("[", "]", "(", ")"),
  291.         1 => array('@', '$', '%'),
  292.         2 => array('=', '<', '>', '+', '-', '!')
  293.         ),
  294.     'CASE_SENSITIVE' => array(
  295.         GESHI_COMMENTS => false,
  296.         1 => true,
  297.         2 => true,
  298.         3 => true,
  299.         4 => true
  300.         ),
  301.     'STYLES' => array(
  302.         'KEYWORDS' => array(
  303.             1 => 'color: #b1b100;', // controls, common commands
  304.             2 => 'color: #000000; font-weight: bold;', // alias definition
  305.             3 => 'color: #772200;', // basic commands
  306.             4 => 'color: #228822; font-weight: bold;' // special vars
  307.             ),
  308.         'COMMENTS' => array(
  309.             1 => 'color: #666666; font-style: italic;',
  310.             2 => 'color: #666666; font-style: italic;',
  311.             3 => 'color: #0000cc; font-style: italic;',
  312.             4 => 'color: #009933; font-style: italic;',
  313.             'MULTI' => 'color: #666666; font-style: italic;'
  314.             ),
  315.         'ESCAPE_CHAR' => array(
  316.             0 => 'color: #000099; font-weight: bold;',
  317.             1 => 'color: #000099; font-weight: bold;',
  318.             2 => 'color: #660099; font-weight: bold;',
  319.             3 => 'color: #660099; font-weight: bold;',
  320.             4 => 'color: #006699; font-weight: bold;',
  321.             5 => 'color: #006699; font-weight: bold; font-style: italic;',
  322.             6 => 'color: #009933; font-weight: bold;',
  323.             'HARD' => 'color: #000099; font-weight: bold;'
  324.             ),
  325.         'BRACKETS' => array(
  326.             0 => 'color: #009900;'
  327.             ),
  328.         'STRINGS' => array(
  329.             0 => 'color: #ff0000;',
  330.             'HARD' => 'color: #ff0000;'
  331.             ),
  332.         'NUMBERS' => array(
  333.             0 => 'color: #cc66cc;'
  334.             ),
  335.         'METHODS' => array(
  336.             1 => 'color: #004000;',
  337.             2 => 'color: #004000;'
  338.             ),
  339.         'SYMBOLS' => array(
  340.             //0 => 'color: #339933;',
  341.             //1 => 'color: #000000; font-weight: bold;'
  342.             0 => 'color: #339933; font-weight: bold;',
  343.             1 => 'color: #339933; font-weight: bold;',
  344.             2 => 'color: #339933; font-weight: bold;'
  345.             ),
  346.         'REGEXPS' => array(
  347.             0 => 'color: #000088;',
  348.             1 => 'color: #000088;'
  349.             ),
  350.         'SCRIPT' => array(
  351.             0 => '',
  352.             1 => '',
  353.             2 => '',
  354.             3 => '',
  355.             4 => '',
  356.             5 => ''
  357.             )
  358.         ),
  359.     'URLS' => array(
  360.         1 => 'http://assault.cubers.net/docs/reference.xml#identifier_{FNAME}',
  361.         2 => 'http://assault.cubers.net/docs/reference.xml#identifier_{FNAME}',
  362.         3 => "http://assault.cubers.net/docs/reference.xml#identifier_{FNAME}",
  363.         4 => ''
  364.         ),
  365.     'OOLANG' => false,
  366.     'OBJECT_SPLITTERS' => NULL,
  367.     'REGEXPS' => array(
  368.         //Variables
  369.         // Lucas:
  370.         0 => "[\\$]{1,2}[a-zA-Z_][a-zA-Z0-9_]*",
  371.         // flowtron:
  372.         1 => "[\\$@]+[a-zA-Z_][a-zA-Z0-9_]*"
  373.         ),
  374.     'STRICT_MODE_APPLIES' => GESHI_MAYBE,
  375.     'SCRIPT_DELIMITERS' => array(),
  376.     'HIGHLIGHT_STRICT_BLOCK' => array(
  377.         0 => true,
  378.         1 => true,
  379.         2 => true,
  380.         3 => true,
  381.         4 => true,
  382.         5 => true
  383.         ),
  384.     'TAB_WIDTH' => 4
  385. );
  386.  
  387. ?>
  388.  
  389.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement