websvn |
Subversion Repositories: |
Rev 1 | Rev 3 | |
---|---|---|
Line 2... | Line 2... | |
/************************************************************************************* |
/************************************************************************************* | |
* d.php |
* d.php | |
* ----- |
* ----- | |
* Author: Thomas Kuehne (thomas@kuehne.cn) |
* Author: Thomas Kuehne (thomas@kuehne.cn) | |
* Copyright: (c) 2005 Thomas Kuehne (http://thomas.kuehne.cn/) |
* Copyright: (c) 2005 Thomas Kuehne (http://thomas.kuehne.cn/) | |
* Release Version: 1.0.8.1 |
* Release Version: 1.0.8.3 | |
* Date Started: 2005/04/22 |
* Date Started: 2005/04/22 | |
* |
* | |
* D language file for GeSHi. |
* D language file for GeSHi. | |
* |
* | |
* CHANGES |
* CHANGES | |
Line 46... | Line 46... | |
'LANG_NAME' => 'D', |
'LANG_NAME' => 'D', | |
'COMMENT_SINGLE' => array(2 => '///', 1 => '//'), |
'COMMENT_SINGLE' => array(2 => '///', 1 => '//'), | |
'COMMENT_MULTI' => array('/*' => '*/'), |
'COMMENT_MULTI' => array('/*' => '*/'), | |
'COMMENT_REGEXP' => array( |
'COMMENT_REGEXP' => array( | |
// doxygen comments |
// doxygen comments | |
3 => '#/\*\*(?!\*).*\*/#sU', |
3 => '#/\*\*(?![\*\/]).*\*/#sU', | |
// raw strings |
// raw strings | |
4 => '#r"[^"]*"#s', |
4 => '#r"[^"]*"#s', | |
// Script Style interpreter comment |
// Script Style interpreter comment | |
5 => "/\A#!(?=\\/).*?$/m" |
5 => "/\A#!(?=\\/).*?$/m" | |
), |
), | |
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, | |
'QUOTEMARKS' => array('"', "'"), |
'QUOTEMARKS' => array('"', "'"), | |
'ESCAPE_CHAR' => '', |
'ESCAPE_CHAR' => '', | |
'ESCAPE_REGEXP' => array( |
'ESCAPE_REGEXP' => array( | |
//Simple Single Char Escapes |
//Simple Single Char Escapes | |
1 => "#\\\\[abfnrtv\\'\"?\n]#i", |
1 => "#\\\\[abfnrtv\\'\"?\n\\\\]#i", | |
//Hexadecimal Char Specs |
//Hexadecimal Char Specs | |
2 => "#\\\\x[\da-fA-F]{2}#", |
2 => "#\\\\x[\da-fA-F]{2}#", | |
//Hexadecimal Char Specs |
//Hexadecimal Char Specs | |
3 => "#\\\\u[\da-fA-F]{4}#", |
3 => "#\\\\u[\da-fA-F]{4}#", | |
//Hexadecimal Char Specs |
//Hexadecimal Char Specs | |
Line 132... | Line 132... | |
'alias', 'asm', 'assert', 'body', 'cast', |
'alias', 'asm', 'assert', 'body', 'cast', | |
'catch', 'default', 'delegate', 'delete', |
'catch', 'default', 'delegate', 'delete', | |
'extern', 'false', 'finally', 'function', |
'extern', 'false', 'finally', 'function', | |
'import', 'in', 'inout', 'interface', |
'import', 'in', 'inout', 'interface', | |
'invariant', 'is', 'mixin', 'module', 'new', |
'invariant', 'is', 'mixin', 'module', 'new', | |
'null', 'out', 'pragma', 'super', 'this', |
'null', 'out', 'pragma', 'ref', 'super', 'this', | |
'throw', 'true', 'try', 'typedef', 'typeid', |
'throw', 'true', 'try', 'typedef', 'typeid', | |
'typeof', 'union', 'with' |
'typeof', 'union', 'with' | |
), |
), | |
3 => array( |
3 => array( | |
'ArrayBoundsError', 'AssertError', |
'ArrayBoundsError', 'AssertError', | |
Line 268... | Line 268... | |
'HIGHLIGHT_STRICT_BLOCK' => array( |
'HIGHLIGHT_STRICT_BLOCK' => array( | |
) |
) | |
); |
); | |
|
| |
?> |
?> | |
|