summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-01-03 19:31:15 -0500
committerAnthony G. Basile <blueness@gentoo.org>2017-01-03 19:31:15 -0500
commit51c14fa5dfdce1fe6261e2ee61c35afd2e2ac7d6 (patch)
treef321f9ab3768bca23c6ad7a34cacb8af7b748c3c /plugins/wp-syntax/geshi/geshi/tcl.php
parentUpdate plugin wordpress-mobile-pack to 2.2.7 (diff)
downloadblogs-gentoo-51c14fa5dfdce1fe6261e2ee61c35afd2e2ac7d6.tar.gz
blogs-gentoo-51c14fa5dfdce1fe6261e2ee61c35afd2e2ac7d6.tar.bz2
blogs-gentoo-51c14fa5dfdce1fe6261e2ee61c35afd2e2ac7d6.zip
Update plugin wp-syntax to 1.1
Diffstat (limited to 'plugins/wp-syntax/geshi/geshi/tcl.php')
-rw-r--r--plugins/wp-syntax/geshi/geshi/tcl.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/plugins/wp-syntax/geshi/geshi/tcl.php b/plugins/wp-syntax/geshi/geshi/tcl.php
index 4dd7be87..697411fe 100644
--- a/plugins/wp-syntax/geshi/geshi/tcl.php
+++ b/plugins/wp-syntax/geshi/geshi/tcl.php
@@ -4,7 +4,7 @@
* ---------------------------------
* Author: Reid van Melle (rvanmelle@gmail.com)
* Copyright: (c) 2004 Reid van Melle (sorry@nowhere)
- * Release Version: 1.0.8.11
+ * Release Version: 1.0.8.12
* Date Started: 2006/05/05
*
* TCL/iTCL language file for GeSHi.
@@ -50,14 +50,14 @@
$language_data = array (
'LANG_NAME' => 'TCL',
- 'COMMENT_SINGLE' => array(1 => '#'),
+ 'COMMENT_SINGLE' => array(),
'COMMENT_MULTI' => array(),
'COMMENT_REGEXP' => array(
- 1 => '/(?<!\\\\)#(?:\\\\\\\\|\\\\\\n|.)*$/m',
+ 1 => '/(?:^|(?<=\{|;))\s*#(?:\\\\\\\\|\\\\\\n|.)*$/m',
//2 => '/{[^}\n]+}/'
),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
- 'QUOTEMARKS' => array('"', "'"),
+ 'QUOTEMARKS' => array('"'),
'ESCAPE_CHAR' => '\\',
'KEYWORDS' => array(
/*
@@ -187,8 +187,6 @@ $language_data = array (
'PARSER_CONTROL' => array(
'COMMENTS' => array(
'DISALLOWED_BEFORE' => '\\'
+ )
)
- )
);
-
-?> \ No newline at end of file