fix character escapes
This commit is contained in:
parent
f4613206be
commit
d03c0957b4
1 changed files with 4 additions and 9 deletions
|
|
@ -69,15 +69,10 @@ function LSLHighlightRules() {
|
|||
token : "string.quoted.double.lsl",
|
||||
start : '"',
|
||||
end : '"',
|
||||
next : [
|
||||
{
|
||||
token : "constant.language.escape.lsl",
|
||||
regex : /\\[tn"\\]/
|
||||
}, {
|
||||
token : "invalid.illegal.constant.character.escape.lsl",
|
||||
regex : "\\."
|
||||
}
|
||||
]
|
||||
next : [{
|
||||
token : "constant.character.escape.lsl",
|
||||
regex : /\\[tn"\\]/
|
||||
}]
|
||||
}, {
|
||||
token : "constant.numeric.lsl",
|
||||
regex : "(0[xX][0-9a-fA-F]+|[+-]?[0-9]+(?:(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?)?)\\b"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue