Advertisement
Guest User

DM Language File For GeSHi

a guest
Feb 21st, 2014
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /*************************************************************************************
  3.  * <dm.php>
  4.  * ---------------------------------
  5.  * Author: <name> (<e-mail address>)
  6.  * Copyright: (c) 2008 <name> (<website URL>)
  7.  * Release Version: <GeSHi release>
  8.  * Date Started: <date started>
  9.  *
  10.  * <dm> language file for GeSHi.
  11.  *
  12.  * <any-comments...>
  13.  *
  14.  * CHANGES
  15.  * -------
  16.  * <date-of-release> (<GeSHi release>)
  17.  *  -  First Release
  18.  *
  19.  * TODO (updated <date-of-release>)
  20.  * -------------------------
  21.  * <things-to-do>
  22.  *
  23.  *************************************************************************************
  24.  *
  25.  *     This file is part of GeSHi.
  26.  *
  27.  *   GeSHi is free software; you can redistribute it and/or modify
  28.  *   it under the terms of the GNU General Public License as published by
  29.  *   the Free Software Foundation; either version 2 of the License, or
  30.  *   (at your option) any later version.
  31.  *
  32.  *   GeSHi is distributed in the hope that it will be useful,
  33.  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  34.  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  35.  *   GNU General Public License for more details.
  36.  *
  37.  *   You should have received a copy of the GNU General Public License
  38.  *   along with GeSHi; if not, write to the Free Software
  39.  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  40.  *
  41.  ************************************************************************************/
  42. $language_data = array(
  43. 'LANG_NAME' => 'DM',
  44. 'COMMENT_SINGLE' => array(
  45. 1 => '//',
  46. 2 => '#'
  47. ),
  48. 'COMMENT_MULTI' => array('/*' => '*/'),
  49. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  50. 'QUOTEMARKS' => array(
  51. 0 => '"',
  52. 1 => "'"
  53. ),
  54. 'ESCAPE_CHAR' => '\\',
  55. 'HARDQUOTE' => array(),
  56. 'HARDESCAPE' => array(),
  57. 'HARDCHAR' => '',
  58. 'NUMBERS' =>
  59. GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX |
  60. GESHI_NUMBER_FLT_SCI_ZERO,
  61. 'KEYWORDS' => array(
  62. 1 => array(
  63. 'arg', 'as', 'break', 'const', 'continue', 'del', 'do', 'else',
  64. 'for', 'global', 'goto', 'if', 'in', 'new', 'proc', 'return', 'set',
  65. 'static', 'switch', 'tmp', 'to', 'var', 'verb', 'while', 'step'
  66. ),
  67. ),
  68. 'CASE_SENSITIVE' => array(
  69. 1 => true
  70. ),
  71. 'SYMBOLS' => array(
  72. 0 => array(
  73. '!', '%', '&', '(', ')', '*', '+', '-', '.', '/', ':', '<', '>',
  74. '?', '[', ']', '^', '|', '{', '}', '~'
  75. ),
  76. ),
  77. 'STYLES' => array(
  78. 'KEYWORDS' => array(
  79. 1 => 'color: #00F'
  80. ),
  81. 'COMMENTS' => array(
  82. 1 => 'font-style: italic; color: #646464;',
  83. 2 => 'color: #008000;',
  84. 'MULTI' => 'font-style: italic; color: #646464;'
  85. ),
  86. 'BRACKETS' => array(),
  87. 'STRINGS' => array(
  88. 0 => 'color: #0096B4;'
  89. ),
  90. 'NUMBERS' => array(
  91. 1 => 'color: #E10000'
  92. ),
  93. 'METHODS' => array(),
  94. 'SYMBOLS' => array(
  95. 0 => 'color: #000000; font-weight: bold;'
  96. ),
  97. 'REGEXPS' => array(),
  98. 'SCRIPT' => array()
  99. ),
  100. 'URLS' => array(
  101. 1 => ''
  102. ),
  103. 'OOLANG' => false,
  104. 'OBJECT_SPLITTERS' => array(),
  105. 'REGEXPS' => array(),
  106. 'STRICT_MODE_APPLIES' => GESHI_MAYBE,
  107. 'SCRIPT_DELIMITERS' => array(),
  108. 'HIGHLIGHT_STRICT_BLOCK' => array(),
  109. 'TAB_WIDTH' => 4
  110. );
  111. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement