summaryrefslogtreecommitdiff
path: root/inc/geshi/z80.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/geshi/z80.php')
-rw-r--r--inc/geshi/z80.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/inc/geshi/z80.php b/inc/geshi/z80.php
index 7feb5cb81..12d591ade 100644
--- a/inc/geshi/z80.php
+++ b/inc/geshi/z80.php
@@ -3,8 +3,8 @@
* z80.php
* -------
* Author: Benny Baumann (BenBE@omorphia.de)
- * Copyright: (c) 2007-2008 Benny Baumann (http://www.omorphia.de/), Nigel McNie (http://qbnz.com/highlighter)
- * Release Version: 1.0.7.21
+ * Copyright: (c) 2007-2008 Benny Baumann (http://www.omorphia.de/)
+ * Release Version: 1.0.7.22
* Date Started: 2007/02/06
*
* ZiLOG Z80 Assembler language file for GeSHi.
@@ -13,6 +13,8 @@
*
* CHANGES
* -------
+ * 2008/05/23 (1.0.7.22)
+ * - Added description of extra language features (SF#1970248)
* 2007/06/03 (1.0.1)
* - Fixed two typos in the language file
* 2007/02/06 (1.0.0)
@@ -121,9 +123,12 @@ $language_data = array (
'OBJECT_SPLITTERS' => array(
),
'REGEXPS' => array(
+ //Hex numbers
0 => '0[0-9a-fA-F]{1,32}[hH]',
- 1 => '\%[01]{1,64}[bB]',
- 2 => '^[_a-zA-Z][_a-zA-Z0-9]{0,50}\:'
+ //Binary numbers
+ 1 => '\%[01]{1,64}|[01]{1,64}[bB]?',
+ //Labels
+ 2 => '^[_a-zA-Z][_a-zA-Z0-9]?\:'
),
'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array(