summaryrefslogtreecommitdiff
path: root/inc/geshi/qbasic.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-06-20 18:06:28 +0200
committerAndreas Gohr <andi@splitbrain.org>2008-06-20 18:06:28 +0200
commitbb62d5fbe1aa438a9e655573ea9d8c8d3183006b (patch)
tree050838041b33d8e8c5a8d4d9c93472ce099b2ed0 /inc/geshi/qbasic.php
parent715bdf1fe13fba0611cf88311bbc3d7945b4a544 (diff)
downloadrpg-bb62d5fbe1aa438a9e655573ea9d8c8d3183006b.tar.gz
rpg-bb62d5fbe1aa438a9e655573ea9d8c8d3183006b.tar.bz2
GeSHi update to 1.0.7.22
darcs-hash:20080620160628-7ad00-1bfd8f407b5b38c29c7879d67da2ea3dbd0d1816.gz
Diffstat (limited to 'inc/geshi/qbasic.php')
-rw-r--r--inc/geshi/qbasic.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/inc/geshi/qbasic.php b/inc/geshi/qbasic.php
index 61dacfccf..df404389e 100644
--- a/inc/geshi/qbasic.php
+++ b/inc/geshi/qbasic.php
@@ -4,13 +4,15 @@
* ----------
* Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
- * Release Version: 1.0.7.21
+ * Release Version: 1.0.7.22
* Date Started: 2004/06/20
*
* QBasic/QuickBASIC language file for GeSHi.
*
* CHANGES
* -------
+ * 2008/05/23 (1.0.7.22)
+ * - Added description of extra language features (SF#1970248)
* 2004/11/27 (1.0.3)
* - Added support for multiple object splitters
* 2004/10/27 (1.0.2)
@@ -49,8 +51,12 @@
************************************************************************************/
$language_data = array (
'LANG_NAME' => 'QBasic/QuickBASIC',
- 'COMMENT_SINGLE' => array(1 => "'", 2 => ' REM', 3 => "\tREM"),
+ 'COMMENT_SINGLE' => array(1 => "'"),
'COMMENT_MULTI' => array(),
+ 'COMMENT_REGEXP' => array(
+ //Single-Line Comments using REM command
+ 2 => "/\bREM.*?$/i"
+ ),
'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
'QUOTEMARKS' => array('"'),
'ESCAPE_CHAR' => '',
@@ -87,7 +93,7 @@ $language_data = array (
)
),
'SYMBOLS' => array(
- '(', ')'
+ '(', ')', ',', '+', '-', '*', '/', '=', '<', '>'
),
'CASE_SENSITIVE' => array(
GESHI_COMMENTS => false,
@@ -101,8 +107,7 @@ $language_data = array (
),
'COMMENTS' => array(
1 => 'color: #808080;',
- 2 => 'color: #808080;',
- 3 => 'color: #808080;'
+ 2 => 'color: #808080;'
),
'BRACKETS' => array(
0 => 'color: #66cc66;'