diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-03-23 10:42:53 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-03-23 10:42:53 +0100 |
commit | 2b8d02bf0a560f0ee8fa887fed0d2bbf66b10bae (patch) | |
tree | d8fd32b508377b76b9213b0b67835eac9b003345 /inc/geshi/klonec.php | |
parent | ccf354b192cc6f8e554b4729cb1424b93bf82602 (diff) | |
download | rpg-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/klonec.php')
-rw-r--r-- | inc/geshi/klonec.php | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/inc/geshi/klonec.php b/inc/geshi/klonec.php index 54e2388c6..599f56b29 100644 --- a/inc/geshi/klonec.php +++ b/inc/geshi/klonec.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. @@ -46,12 +46,12 @@ $language_data = array ( 'ESCAPE_CHAR' => '\\', 'KEYWORDS' => array( 1 => array(//mots-cles C - 'if', 'return', 'while', 'case', 'continue', 'default', + 'if', 'return', 'while', 'case', 'class', 'continue', 'default', 'do', 'else', 'for', 'switch', 'goto', 'null', 'break', 'true', 'enum', 'extern', 'inline', 'false' ), 2 => array(//mots-cles KLone - '<%=', '<%!', '<%', '%>', 'out', 'request', 'response', + 'out', 'request', 'response', ), 3 => array(//fonctions C usuelles 'printf', 'malloc', 'fopen', 'fclose', 'free', 'fputs', 'fgets', 'feof', 'fwrite', @@ -152,11 +152,16 @@ $language_data = array ( ) ), 'SYMBOLS' => array( - '(', ')', '[', ']', '{', '}', - '!', '%', '&', '|', '/', - '<', '>', - '=', '-', '+', '*', - '.', ':', ',', ';', '^' + 1 => array( + '<%=', '<%!', '<%', '%>' + ), + 0 => array( + '(', ')', '[', ']', '{', '}', + '!', '%', '&', '|', '/', + '<', '>', + '=', '-', '+', '*', + '.', ':', ',', ';', '^' + ) ), 'CASE_SENSITIVE' => array( GESHI_COMMENTS => false, @@ -200,7 +205,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( @@ -265,6 +271,9 @@ $language_data = array ( 6 => array( 'DISALLOWED_BEFORE' => '(?<=<|<\/)', 'DISALLOWED_AFTER' => '(?=\s|\/|>)', + ), + 7 => array( + 'DISALLOWED_AFTER' => '(?=\s*=)', ) ) ) |