diff options
Diffstat (limited to 'inc/geshi/cpp.php')
-rw-r--r-- | inc/geshi/cpp.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/geshi/cpp.php b/inc/geshi/cpp.php index 7db2681fa..1a8bccf5c 100644 --- a/inc/geshi/cpp.php +++ b/inc/geshi/cpp.php @@ -7,13 +7,15 @@ * - M. Uli Kusterer (witness.of.teachtext@gmx.net) * - Jack Lloyd (lloyd@randombit.net) * Copyright: (c) 2004 Dennis Bayer, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.21 + * Release Version: 1.0.7.22 * Date Started: 2004/09/27 * * C++ language file for GeSHi. * * CHANGES * ------- + * 2008/05/23 (1.0.7.22) + * - Added description of extra language features (SF#1970248) * 2004/XX/XX (1.0.2) * - Added several new keywords (Jack Lloyd) * 2004/11/27 (1.0.1) @@ -50,6 +52,8 @@ $language_data = array ( 'LANG_NAME' => 'C++', 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'), 'COMMENT_MULTI' => array('/*' => '*/'), + //Multiline-continued single-line comments + 'COMMENT_REGEXP' => array(1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m'), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array("'", '"'), 'ESCAPE_CHAR' => '\\', |