summaryrefslogtreecommitdiff
path: root/inc/geshi/dos.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-08-29 14:22:01 +0200
committerAndreas Gohr <andi@splitbrain.org>2010-08-29 14:22:01 +0200
commit2c053ed58376c6709596ab48fc40dceb90d4e89d (patch)
treec8d0f78c2f47f373473419396d3c0855ec671eca /inc/geshi/dos.php
parentcb4a07568e84d853fbcd9d5eca37f572fa10786f (diff)
parent5479a8c3341247ca228026819f20f3ab5c34a80f (diff)
downloadrpg-2c053ed58376c6709596ab48fc40dceb90d4e89d.tar.gz
rpg-2c053ed58376c6709596ab48fc40dceb90d4e89d.tar.bz2
Merge branch 'master' into stable
Conflicts: conf/msg lib/plugins/acl/ajax.php
Diffstat (limited to 'inc/geshi/dos.php')
-rw-r--r--inc/geshi/dos.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/inc/geshi/dos.php b/inc/geshi/dos.php
index bec3de129..9484d3766 100644
--- a/inc/geshi/dos.php
+++ b/inc/geshi/dos.php
@@ -4,7 +4,7 @@
* -------
* Author: Alessandro Staltari (staltari@geocities.com)
* Copyright: (c) 2005 Alessandro Staltari (http://www.geocities.com/SiliconValley/Vista/8155/)
- * Release Version: 1.0.8.4
+ * Release Version: 1.0.8.8
* Date Started: 2005/07/05
*
* DOS language file for GeSHi.
@@ -64,7 +64,10 @@ $language_data = array (
'COMMENT_SINGLE' => array(),
'COMMENT_MULTI' => array(),
//DOS comment lines
- 'COMMENT_REGEXP' => array(1 => "/^\s*@?REM.*$/mi"),
+ 'COMMENT_REGEXP' => array(
+ 1 => "/^\s*@?REM\b.*$/mi",
+ 2 => "/^\s*::.*$/m"
+ ),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array(),
'ESCAPE_CHAR' => '',
@@ -114,7 +117,8 @@ $language_data = array (
4 => 'color: #0000ff; font-weight: bold;'
),
'COMMENTS' => array(
- 1 => 'color: #808080; font-style: italic;'
+ 1 => 'color: #808080; font-style: italic;',
+ 2 => 'color: #b100b1; font-style: italic;',
),
'ESCAPE_CHAR' => array(
0 => 'color: #ff0000; font-weight: bold;'
@@ -195,4 +199,4 @@ $language_data = array (
)
);
-?>
+?> \ No newline at end of file