summaryrefslogtreecommitdiff
path: root/inc/geshi/klonecpp.php
diff options
context:
space:
mode:
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
- '<%=', '<%!', '<%', '%>', '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*=)',
)
)
)