summaryrefslogtreecommitdiff
path: root/inc/geshi/vhdl.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/geshi/vhdl.php')
-rw-r--r--inc/geshi/vhdl.php16
1 files changed, 10 insertions, 6 deletions
diff --git a/inc/geshi/vhdl.php b/inc/geshi/vhdl.php
index 47d1eb735..2a2bd39d5 100644
--- a/inc/geshi/vhdl.php
+++ b/inc/geshi/vhdl.php
@@ -4,13 +4,16 @@
* --------
* Author: Alexander 'E-Razor' Krause (admin@erazor-zone.de)
* Copyright: (c) 2005 Alexander Krause
- * Release Version: 1.0.7.21
+ * Release Version: 1.0.7.22
* Date Started: 2005/06/15
*
* VHDL (VHSICADL, very high speed integrated circuit HDL) language file for GeSHi.
*
* CHANGES
* -------
+ * 2008/05/23 (1.0.7.22)
+ * - Added description of extra language features (SF#1970248)
+ * - Optimized regexp group 0 somewhat
* 2006/06/15 (1.0.0)
* - First Release
*
@@ -122,11 +125,12 @@ $language_data = array (
'OBJECT_SPLITTERS' => array(
),
'REGEXPS' => array(
- 0 => '(\b(0x)[0-9a-fA-F]{2,}[hH]?|\b(0x)?[0-9a-fA-F]{2,}[hH])|'.
- '(\b[0-9]{1,}((\.){1}[0-9]{1,}){0,1}(E)[\-]{0,1}[0-9]{1,})|'.
- '(\b(ns))|'.
- "('[0-9a-zA-Z]+)",
- 1 => "\b(''[0-9]'')"
+ //Hex numbers and scientific notation for numbers
+ 0 => '(\b0x[0-9a-fA-F]+|\b\d[0-9a-fA-F]+[hH])|'.
+ '(\b\d+?(\.\d+?)?E[+\-]?\d+)|(\bns)|'.
+ "('[0-9a-zA-Z]+)",
+ //Number characters?
+ 1 => "\b(''\d'')"
),
'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array(