remove not necessary/worng comments and not tcl specific rule for variables (is only valid for the tcl extension xotcl

This commit is contained in:
Christoph Hochreiner 2013-04-08 14:45:58 +02:00
commit bc66204d59

View file

@ -66,7 +66,7 @@ var TclHighlightRules = function() {
regex : '[ ]*["]',
next : "qqstring"
}, {
token : "variable.instance", // variable xotcl with braces
token : "variable.instance",
regex : "[$]",
next : "variable"
}, {
@ -103,7 +103,7 @@ var TclHighlightRules = function() {
token : "string", // single line
regex : '[ ]*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
}, {
token : "variable.instance", // variable xotcl with braces
token : "variable.instance",
regex : "[$]",
next : "variable"
}, {
@ -147,10 +147,6 @@ var TclHighlightRules = function() {
}],
"variable" : [
{
token : "variable.instance", // variable xotcl with braces
regex : "(?:[:][:])?[a-zA-Z_\\d]+(?:(?:[:][:])?[a-zA-Z_\\d]+)?(?:[(][a-zA-Z_\\d]+[)])?",
next : "start"
}, {
token : "variable.instance", // variable tcl
regex : "[a-zA-Z_\\d]+(?:[(][a-zA-Z_\\d]+[)])?",
next : "start"