websvn |
Subversion Repositories: |
Rev 1 | Rev 3 | |
---|---|---|
Line 2... | Line 2... | |
/************************************************************************************* |
/************************************************************************************* | |
* klonecpp.php |
* klonecpp.php | |
* -------- |
* -------- | |
* Author: AUGER Mickael |
* Author: AUGER Mickael | |
* Copyright: Synchronic |
* Copyright: Synchronic | |
* Release Version: 1.0.8.1 |
* Release Version: 1.0.8.3 | |
* Date Started: 2008/04/16 |
* Date Started: 2008/04/16 | |
* |
* | |
* KLone with C++ language file for GeSHi. |
* KLone with C++ language file for GeSHi. | |
* |
* | |
* CHANGES |
* CHANGES | |
Line 64... | Line 64... | |
'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam', 'NULL', |
'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam', 'NULL', | |
'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', |
'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', | |
'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC' |
'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC' | |
), |
), | |
2 => array(//mots-cles KLone |
2 => array(//mots-cles KLone | |
'<%=', '<%!', '<%', '%>', 'out', 'request', 'response', |
'out', 'request', 'response', | |
), |
), | |
3 => array(//fonctions C++ usuelles |
3 => array(//fonctions C++ usuelles | |
'cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this', |
'cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this', | |
'printf', 'fprintf', 'snprintf', 'sprintf', 'assert', |
'printf', 'fprintf', 'snprintf', 'sprintf', 'assert', | |
'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint', |
'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint', | |
Line 178... | Line 178... | |
'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace', |
'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace', | |
'width' |
'width' | |
) |
) | |
), |
), | |
'SYMBOLS' => array( |
'SYMBOLS' => array( | |
'(', ')', '[', ']', '{', '}', |
1 => array( | |
'!', '%', '&', '|', '/', |
'<%=', '<%!', '<%', '%>' | |
'<', '>', |
), | |
'=', '-', '+', '*', |
0 => array( | |
'.', ':', ',', ';', '^' |
'(', ')', '[', ']', '{', '}', | |
'!', '%', '&', '|', '/', | ||
'<', '>', | ||
'=', '-', '+', '*', | ||
'.', ':', ',', ';', '^' | ||
) | ||
), |
), | |
'CASE_SENSITIVE' => array( |
'CASE_SENSITIVE' => array( | |
GESHI_COMMENTS => false, |
GESHI_COMMENTS => false, | |
1 => false, |
1 => false, | |
2 => false, |
2 => false, | |
Line 226... | Line 231... | |
'METHODS' => array( |
'METHODS' => array( | |
1 => 'color: #006600;', |
1 => 'color: #006600;', | |
2 => 'color: #006600;' |
2 => 'color: #006600;' | |
), |
), | |
'SYMBOLS' => array( |
'SYMBOLS' => array( | |
0 => 'color: #000000;' |
0 => 'color: #000000;', | |
1 => 'color: #000000; font-weight: bold;' | ||
), |
), | |
'REGEXPS' => array(), |
'REGEXPS' => array(), | |
'SCRIPT' => array( |
'SCRIPT' => array( | |
0 => 'background-color:#ffccff; font-weight: bold; color:#000000;', |
0 => 'background-color:#ffccff; font-weight: bold; color:#000000;', | |
1 => '', |
1 => '', | |
Line 291... | Line 297... | |
'PARSER_CONTROL' => array( |
'PARSER_CONTROL' => array( | |
'KEYWORDS' => array( |
'KEYWORDS' => array( | |
6 => array( |
6 => array( | |
'DISALLOWED_BEFORE' => '(?<=<|<\/)', |
'DISALLOWED_BEFORE' => '(?<=<|<\/)', | |
'DISALLOWED_AFTER' => '(?=\s|\/|>)', |
'DISALLOWED_AFTER' => '(?=\s|\/|>)', | |
), | ||
7 => array( | ||
'DISALLOWED_AFTER' => '(?=\s*=)', | ||
) |
) | |
) |
) | |
) |
) | |
); |
); | |
|
|