remove trailing commas

This commit is contained in:
nightwing 2013-07-30 00:28:05 +04:00
commit f2944d4ced
7 changed files with 10 additions and 10 deletions

View file

@ -21,7 +21,7 @@ var JsRegexHighlightRules = function() {
// flag
token: "string.regexp",
regex: "/\\w*",
next: "start",
next: "start"
}, {
token : ["string", "string.regex"],
regex: quantifier,
@ -43,7 +43,7 @@ var JsRegexHighlightRules = function() {
}, {
token: "constant.language.escape",
regex: /\[\^?/,
next: "character_class",
next: "character_class"
}, {
token: "empty",
regex: "$",
@ -63,7 +63,7 @@ var JsRegexHighlightRules = function() {
}, {
token: "constant.language.escape",
regex: "]",
next: "start",
next: "start"
}, {
token: "constant.language.escape",
regex: "-"

View file

@ -559,7 +559,7 @@ var MushCodeRules = function() {
}, {
token : "text",
regex : "\\s+"
} ],
} ]
};
};

View file

@ -108,7 +108,7 @@ var MysqlHighlightRules = function() {
"comment" : [
{token : "comment", regex : "\\*\\/", next : "start"},
{defaultToken : "comment"}
],
]
};
this.embedRules(DocCommentHighlightRules, "doc-", [ DocCommentHighlightRules.getEndRule("start") ]);

View file

@ -1013,7 +1013,7 @@ var PhpLangHighlightRules = function() {
next: "start"
}, {
token: "string",
regex : ".*",
regex : ".*"
}
],
"comment" : [

View file

@ -53,7 +53,7 @@ var PropertiesHighlightRules = function() {
next : "value"
}, {
token : "constant.language.escape",
regex : escapeRe,
regex : escapeRe
}, {
defaultToken: "variable"
}

View file

@ -86,7 +86,7 @@ var SnippetGroupHighlightRules = function() {
{onMatch: function(value, state, stack) {
stack.splice(stack.length);
return this.tokenName;
}, tokenName: "text", regex: "^(?!\t)", next: "start"},
}, tokenName: "text", regex: "^(?!\t)", next: "start"}
])
};

View file

@ -139,7 +139,7 @@ var TwigHighlightRules = function() {
}, {
token : "string",
regex : '"',
next : "twig-start",
next : "twig-start"
}, {
defaultToken : "string"
}
@ -151,7 +151,7 @@ var TwigHighlightRules = function() {
}, {
token : "string",
regex : "'",
next : "twig-start",
next : "twig-start"
}, {
defaultToken : "string"
}