From bb62d5fbe1aa438a9e655573ea9d8c8d3183006b Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 20 Jun 2008 18:06:28 +0200 Subject: GeSHi update to 1.0.7.22 darcs-hash:20080620160628-7ad00-1bfd8f407b5b38c29c7879d67da2ea3dbd0d1816.gz --- inc/geshi/z80.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'inc/geshi/z80.php') 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( -- cgit v1.2.3