remove trailing commas
This commit is contained in:
parent
95f0e7308f
commit
f2944d4ced
7 changed files with 10 additions and 10 deletions
|
|
@ -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: "-"
|
||||
|
|
|
|||
|
|
@ -559,7 +559,7 @@ var MushCodeRules = function() {
|
|||
}, {
|
||||
token : "text",
|
||||
regex : "\\s+"
|
||||
} ],
|
||||
} ]
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ var MysqlHighlightRules = function() {
|
|||
"comment" : [
|
||||
{token : "comment", regex : "\\*\\/", next : "start"},
|
||||
{defaultToken : "comment"}
|
||||
],
|
||||
]
|
||||
};
|
||||
|
||||
this.embedRules(DocCommentHighlightRules, "doc-", [ DocCommentHighlightRules.getEndRule("start") ]);
|
||||
|
|
|
|||
|
|
@ -1013,7 +1013,7 @@ var PhpLangHighlightRules = function() {
|
|||
next: "start"
|
||||
}, {
|
||||
token: "string",
|
||||
regex : ".*",
|
||||
regex : ".*"
|
||||
}
|
||||
],
|
||||
"comment" : [
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ var PropertiesHighlightRules = function() {
|
|||
next : "value"
|
||||
}, {
|
||||
token : "constant.language.escape",
|
||||
regex : escapeRe,
|
||||
regex : escapeRe
|
||||
}, {
|
||||
defaultToken: "variable"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"}
|
||||
])
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue