summaryrefslogtreecommitdiff
path: root/inc/geshi/z80.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-07-02 22:07:15 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-07-02 22:07:15 +0200
commit14e7550de1640180bad222469bbe117319313c74 (patch)
tree2d6a8a9cd27ca8abf8f05fbd067f1d8528826113 /inc/geshi/z80.php
parentdb4244666982113c629209be3c2f26a9201a17e9 (diff)
downloadrpg-14e7550de1640180bad222469bbe117319313c74.tar.gz
rpg-14e7550de1640180bad222469bbe117319313c74.tar.bz2
GeSHi update to 1.0.7.20
darcs-hash:20070702200715-7ad00-654e2eb59ffaa2d72e907cd7aea5237a903727fa.gz
Diffstat (limited to 'inc/geshi/z80.php')
-rw-r--r--inc/geshi/z80.php21
1 files changed, 12 insertions, 9 deletions
diff --git a/inc/geshi/z80.php b/inc/geshi/z80.php
index 092b32a70..bfe17e271 100644
--- a/inc/geshi/z80.php
+++ b/inc/geshi/z80.php
@@ -1,10 +1,10 @@
<?php
/*************************************************************************************
- * asm.php
+ * z80.php
* -------
* Author: Benny Baumann (BenBE@omorphia.de)
* Copyright: (c) 2007 Benny Baumann (http://www.omorphia.de/), Nigel McNie (http://qbnz.com/highlighter)
- * Release Version: 1.0.7.19
+ * Release Version: 1.0.7.20
* Date Started: 2007/02/06
*
* ZiLOG Z80 Assembler language file for GeSHi.
@@ -13,6 +13,8 @@
*
* CHANGES
* -------
+ * 2007/06/03 (1.0.1)
+ * - Fixed two typos in the language file
* 2007/02/06 (1.0.0)
* - First Release
*
@@ -49,15 +51,15 @@ $language_data = array (
'KEYWORDS' => array(
/*CPU*/
1 => array(
- 'adc','add'.'and','bit','call','ccf','cp','cpd','cpdr','cpir','cpi',
+ 'adc','add','and','bit','call','ccf','cp','cpd','cpdr','cpir','cpi',
'cpl','daa','dec','di','djnz','ei','ex','exx','halt','im','in',
'in0','inc','ind','indr','inir','ini','jp','jr','ld','ldd','lddr',
'ldir','ldi','mlt','neg','nop','or','otdm','otdmr','otdr','otim',
- 'otimr','otir','out','out0','outd','outi','pop','push','res'.'ret',
+ 'otimr','otir','out','out0','outd','outi','pop','push','res','ret',
'reti','retn','rl','rla','rlc','rlca','rld','rr','rra','rrc','rrca',
'rrd','rst','sbc','scf','set','sla','sl1','sll','slp','sra','srl',
'sub','tst','tstio','xor'
- ),
+ ),
/*registers*/
2 => array(
'a','b','c','d','e','h','l',
@@ -119,15 +121,16 @@ $language_data = array (
'OBJECT_SPLITTERS' => array(
),
'REGEXPS' => array(
- 0 => '0[0-9a-fA-F][0-9a-fA-F]*[hH]',
- 1 => '\%[01]+[bB]',
- 2 => '^[_a-zA-Z][_a-zA-Z0-9]*\:'
+ 0 => '0[0-9a-fA-F]{1,32}[hH]',
+ 1 => '\%[01]{1,64}[bB]',
+ 2 => '^[_a-zA-Z][_a-zA-Z0-9]{0,50}\:'
),
'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array(
),
'HIGHLIGHT_STRICT_BLOCK' => array(
- )
+ ),
+ 'TAB_WIDTH' => 8
);
?>