Home | History | Annotate | Download | only in geshi
      1 <?php
      2 /*************************************************************************************
      3  * div.php
      4  * ---------------------------------
      5  * Author: Gabriel Lorenzo (ermakina (at) gmail.com)
      6  * Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net)
      7  * Release Version: 1.0.8.3
      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 
     41 $language_data = array (
     42     'LANG_NAME' => 'DIV',
     43     'COMMENT_SINGLE' => array(1 => '//'),
     44     'COMMENT_MULTI' => array('/*' => '*/'),
     45     'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
     46     'QUOTEMARKS' => array("'", '"'),
     47     'ESCAPE_CHAR' => '',
     48     'KEYWORDS' => array(
     49         1 => array(
     50             'while','until','to','switch','step','return','repeat','loop','if','from','frame','for','end','elseif',
     51             'else','default','debug','continue','clone','case','break','begin'
     52             ),
     53         2 => array(
     54             'xor','whoami','type','sizeof','pointer','or','offset','not','neg','mod','id','dup','and','_ne','_lt',
     55             '_le','_gt','_ge','_eq'
     56             ),
     57         3 => array(
     58             'setup_program','program','process','private','local','import','global','function','const',
     59             'compiler_options'
     60             ),
     61         4 => array(
     62             'word','struct','string','int','byte'
     63             ),
     64         ),
     65     'SYMBOLS' => array(
     66         '(',')','[',']','=','+','-','*','/','!','%','^','&',':',';',',','<','>'
     67         ),
     68     'CASE_SENSITIVE' => array(
     69         GESHI_COMMENTS => false,
     70         1 => false,
     71         2 => false,
     72         3 => false,
     73         4 => false,
     74         ),
     75     'STYLES' => array(
     76         'KEYWORDS' => array(
     77             1 => 'color: #0040b1;',
     78             2 => 'color: #000000;',
     79             3 => 'color: #000066; font-weight: bold;',
     80             4 => 'color: #993333;'
     81             ),
     82         'COMMENTS' => array(
     83             1 => 'color: #808080; font-style: italic;',
     84             'MULTI' => 'color: #808080; font-style: italic;'
     85             ),
     86         'ESCAPE_CHAR' => array(
     87             0 => ''
     88             ),
     89         'BRACKETS' => array(
     90             0 => 'color: #44aa44;'
     91             ),
     92         'STRINGS' => array(
     93             0 => 'color: #ff0000;'
     94             ),
     95         'NUMBERS' => array(
     96             0 => 'color: #cc66cc;'
     97             ),
     98         'METHODS' => array(
     99             0 => 'color: #202020;',
    100             ),
    101         'SYMBOLS' => array(
    102             0 => 'color: #44aa44;'
    103             ),
    104         'REGEXPS' => array(
    105             ),
    106         'SCRIPT' => array(
    107             )
    108         ),
    109     'URLS' => array(
    110         1 => '',
    111         2 => '',
    112         3 => '',
    113         4 => ''
    114         ),
    115     'OOLANG' => false,
    116     'OBJECT_SPLITTERS' => array(),
    117     'REGEXPS' => array(
    118         ),
    119     'STRICT_MODE_APPLIES' => GESHI_NEVER,
    120     'SCRIPT_DELIMITERS' => array(
    121         ),
    122     'HIGHLIGHT_STRICT_BLOCK' => array(
    123         )
    124 );
    125 
    126 ?>
    127