fix character escapes

This commit is contained in:
Builders Brewery 2014-03-19 17:03:03 +01:00
commit d03c0957b4

View file

@ -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"