added missing , and condensed regex
This commit is contained in:
parent
7a6fd89bfc
commit
3681dbeaea
1 changed files with 2 additions and 2 deletions
|
|
@ -192,7 +192,7 @@ var keywordMapper = this.createKeywordMapper({
|
|||
"invalid.illegal" : "event",
|
||||
"keyword.control" : "do|else|for|if|jump|return|while",
|
||||
"keyword.other" : "default|state",
|
||||
"storage.type" : "float|integer|key|list|quaternion|rotation|string|vector"
|
||||
"storage.type" : "float|integer|key|list|quaternion|rotation|string|vector",
|
||||
"support.function": "llAbs|llAcos|llAddToLandBanList|llAddToLandPassList|" +
|
||||
"llAdjustSoundVolume|llAllowInventoryDrop|llAngleBetween|llApplyImpulse|" +
|
||||
"llApplyRotationalImpulse|llAsin|llAtan2|llAttachToAvatar|llAttachToAvatarTemp|" +
|
||||
|
|
@ -307,7 +307,7 @@ var keywordMapper = this.createKeywordMapper({
|
|||
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
|
||||
}, {
|
||||
token : "keyword.operator",
|
||||
regex : "[!%<>=*+\\-\\/]=?|<<|>>|&|&&|\\+\\+|\\-\\-|\\||\\|\\||^|~"
|
||||
regex : "\\+\\+|\\-\\-|<<|>>|&&?|\\|\\|?|\\^|~|[!%<>=*+\\-\\/]=?"
|
||||
}, {
|
||||
token : "punctuation.operator",
|
||||
regex : "\\?|\\:|\\,|\\;|\\."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue