summaryrefslogtreecommitdiff
path: root/inc/geshi/java5.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/geshi/java5.php')
-rw-r--r--inc/geshi/java5.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/inc/geshi/java5.php b/inc/geshi/java5.php
index a952cb0ce..1766ef954 100644
--- a/inc/geshi/java5.php
+++ b/inc/geshi/java5.php
@@ -4,7 +4,7 @@
* --------
* Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
- * Release Version: 1\.0\.8
+ * Release Version: 1.0.8.3
* Date Started: 2004/07/10
*
* Java language file for GeSHi.
@@ -56,7 +56,10 @@ $language_data = array (
'COMMENT_MULTI' => array('/*' => '*/'),
'COMMENT_REGEXP' => array(
//Import and Package directives (Basic Support only)
- 2 => '/(?:(?<=import[\\n\\s])|(?<=package[\\n\\s]))[\\n\\s]*([a-zA-Z0-9_]+\\.)*([a-zA-Z0-9_]+|\*)(?=[\n\s;])/i'),
+ 2 => '/(?:(?<=import[\\n\\s])|(?<=package[\\n\\s]))[\\n\\s]*([a-zA-Z0-9_]+\\.)*([a-zA-Z0-9_]+|\*)(?=[\n\s;])/i',
+ // javadoc comments
+ 3 => '#/\*\*(?![\*\/]).*\*/#sU'
+ ),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array("'", '"'),
'ESCAPE_CHAR' => '\\',
@@ -815,6 +818,7 @@ $language_data = array (
'COMMENTS' => array(
1 => 'color: #666666; font-style: italic;',
2 => 'color: #006699;',
+ 3 => 'color: #008000; font-style: italic; font-weight: bold;',
'MULTI' => 'color: #666666; font-style: italic;'
),
'ESCAPE_CHAR' => array(