summaryrefslogtreecommitdiff
path: root/inc/geshi/klonecpp.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-03-23 10:42:53 +0100
committerAndreas Gohr <andi@splitbrain.org>2009-03-23 10:42:53 +0100
commit2b8d02bf0a560f0ee8fa887fed0d2bbf66b10bae (patch)
treed8fd32b508377b76b9213b0b67835eac9b003345 /inc/geshi/klonecpp.php
parentccf354b192cc6f8e554b4729cb1424b93bf82602 (diff)
downloadrpg-2b8d02bf0a560f0ee8fa887fed0d2bbf66b10bae.tar.gz
rpg-2b8d02bf0a560f0ee8fa887fed0d2bbf66b10bae.tar.bz2
GeSHi 1.0.8.3 update
Ignore-this: d204f804a634d5a537737dc4a50c3c13 darcs-hash:20090323094253-7ad00-003ea6c7b9cb1306ad0623274917bbfc042a0103.gz
Diffstat (limited to 'inc/geshi/klonecpp.php')
-rw-r--r--inc/geshi/klonecpp.php25
1 files changed, 17 insertions, 8 deletions
diff --git a/inc/geshi/klonecpp.php b/inc/geshi/klonecpp.php
index cb95d4d0e..7be4f40e5 100644
--- a/inc/geshi/klonecpp.php
+++ b/inc/geshi/klonecpp.php
@@ -4,7 +4,7 @@
* --------
* Author: AUGER Mickael
* Copyright: Synchronic
- * Release Version: 1.0.8
+ * Release Version: 1.0.8.3
* Date Started: 2008/04/16
*
* KLone with C++ language file for GeSHi.
@@ -66,7 +66,7 @@ $language_data = array (
'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC'
),
2 => array(//mots-cles KLone
- '&lt;%=', '&lt;%!', '&lt;%', '%&gt;', 'out', 'request', 'response',
+ 'out', 'request', 'response',
),
3 => array(//fonctions C++ usuelles
'cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this',
@@ -180,11 +180,16 @@ $language_data = array (
)
),
'SYMBOLS' => array(
- '(', ')', '[', ']', '{', '}',
- '!', '%', '&', '|', '/',
- '<', '>',
- '=', '-', '+', '*',
- '.', ':', ',', ';', '^'
+ 1 => array(
+ '<%=', '<%!', '<%', '%>'
+ ),
+ 0 => array(
+ '(', ')', '[', ']', '{', '}',
+ '!', '%', '&', '|', '/',
+ '<', '>',
+ '=', '-', '+', '*',
+ '.', ':', ',', ';', '^'
+ )
),
'CASE_SENSITIVE' => array(
GESHI_COMMENTS => false,
@@ -228,7 +233,8 @@ $language_data = array (
2 => 'color: #006600;'
),
'SYMBOLS' => array(
- 0 => 'color: #000000;'
+ 0 => 'color: #000000;',
+ 1 => 'color: #000000; font-weight: bold;'
),
'REGEXPS' => array(),
'SCRIPT' => array(
@@ -293,6 +299,9 @@ $language_data = array (
6 => array(
'DISALLOWED_BEFORE' => '(?<=&lt;|&lt;\/)',
'DISALLOWED_AFTER' => '(?=\s|\/|&gt;)',
+ ),
+ 7 => array(
+ 'DISALLOWED_AFTER' => '(?=\s*=)',
)
)
)