remove single quoted string (qstring) from lean-mode
This commit is contained in:
parent
8f49d3d897
commit
74800e84ee
1 changed files with 0 additions and 9 deletions
|
|
@ -108,13 +108,6 @@ var leanHighlightRules = function() {
|
|||
token : "string", // multi line string start
|
||||
regex : '["].*\\\\$',
|
||||
next : "qqstring"
|
||||
}, {
|
||||
token : "string", // single line
|
||||
regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
|
||||
}, {
|
||||
token : "string", // multi line string start
|
||||
regex : "['].*\\\\$",
|
||||
next : "qstring"
|
||||
}, {
|
||||
token : "constant.numeric", // hex
|
||||
regex : "0[xX][0-9a-fA-F]+(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"
|
||||
|
|
@ -155,8 +148,6 @@ var leanHighlightRules = function() {
|
|||
{defaultToken: "comment"} ],
|
||||
"qqstring" : [ {token : "string", regex : '(?:(?:\\\\.)|(?:[^"\\\\]))*?"', next : "start" },
|
||||
{defaultToken: "qqstring"} ],
|
||||
"qstring" : [ {token : "string", regex : "(?:(?:\\\\.)|(?:[^'\\\\]))*?'", next : "start" },
|
||||
{defaultToken: "qstring"} ],
|
||||
"directive" : [
|
||||
{
|
||||
token : "constant.other.multiline",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue