summaryrefslogtreecommitdiff
path: root/inc/geshi/qbasic.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/geshi/qbasic.php')
-rw-r--r--inc/geshi/qbasic.php17
1 files changed, 12 insertions, 5 deletions
diff --git a/inc/geshi/qbasic.php b/inc/geshi/qbasic.php
index e3b5df8a1..c83cb188e 100644
--- a/inc/geshi/qbasic.php
+++ b/inc/geshi/qbasic.php
@@ -4,7 +4,7 @@
* ----------
* Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
- * Release Version: 1.0.8.4
+ * Release Version: 1.0.8.6
* Date Started: 2004/06/20
*
* QBasic/QuickBASIC language file for GeSHi.
@@ -55,7 +55,9 @@ $language_data = array (
'COMMENT_MULTI' => array(),
'COMMENT_REGEXP' => array(
//Single-Line Comments using REM command
- 2 => "/\bREM.*?$/i"
+ 2 => "/\bREM.*?$/i",
+ //Line numbers
+ 3 => "/^\s*\d+/im"
),
'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
'QUOTEMARKS' => array('"'),
@@ -93,7 +95,7 @@ $language_data = array (
)
),
'SYMBOLS' => array(
- '(', ')', ',', '+', '-', '*', '/', '=', '<', '>'
+ '(', ')', ',', '+', '-', '*', '/', '=', '<', '>', '^'
),
'CASE_SENSITIVE' => array(
GESHI_COMMENTS => false,
@@ -107,7 +109,8 @@ $language_data = array (
),
'COMMENTS' => array(
1 => 'color: #808080;',
- 2 => 'color: #808080;'
+ 2 => 'color: #808080;',
+ 3 => 'color: #8080C0;'
),
'BRACKETS' => array(
0 => 'color: #66cc66;'
@@ -129,6 +132,8 @@ $language_data = array (
'SCRIPT' => array(
),
'REGEXPS' => array(
+ 1 => 'color: #cc66cc;',
+ 2 => 'color: #339933;'
)
),
'URLS' => array(
@@ -139,6 +144,8 @@ $language_data = array (
'OBJECT_SPLITTERS' => array(
),
'REGEXPS' => array(
+ 1 => '&amp;(?:H[0-9a-fA-F]+|O[0-7]+)(?!\w)',
+ 2 => '#[0-9]+(?!\w)'
),
'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array(
@@ -148,4 +155,4 @@ $language_data = array (
'TAB_WIDTH' => 8
);
-?>
+?> \ No newline at end of file