updated LSL syntax

This commit is contained in:
Builders Brewery 2014-02-18 16:04:54 +01:00
commit 2b77b9ec8b
4 changed files with 686 additions and 765 deletions

View file

@ -8,7 +8,7 @@ integer someIntNormal = 3672;
integer someIntHex = 0x00000000;
integer someIntMath = PI_BY_TWO;
integer event = 5673; // unimplemented reserved keyword!
integer event = 5673; // invalid.illegal
key someKeyTexture = TEXTURE_DEFAULT;
string someStringSpecial = EOF;
@ -53,12 +53,12 @@ default
someIntHex = 0x00000000;
someIntMath = PI_BY_TWO;
event = 5673; // unimplemented reserved keyword!
event = 5673; // invalid.illegal
someKeyTexture = TEXTURE_DEFAULT;
someStringSpecial = EOF;
llCloud(ZERO_VECTOR); // invalid deprecated function!
llSetInventoryPermMask("some item", MASK_NEXT, PERM_ALL); // reserved.godmode
llWhisper(PUBLIC_CHANNEL, "Leaving \"default\" now...");
state other;

View file

@ -51,14 +51,14 @@
"start",
["storage.type.lsl","integer"],
["text.lsl"," "],
["invalid.unimplemented.lsl","event"],
["invalid.illegal.lsl","event"],
["text.lsl"," "],
["keyword.operator.lsl","="],
["text.lsl"," "],
["constant.numeric.lsl","5673"],
["punctuation.operator.lsl",";"],
["text.lsl"," "],
["comment.line.double-slash.lsl","// unimplemented reserved keyword!"]
["comment.line.double-slash.lsl","// invalid.illegal"]
],[
"start"
],[
@ -368,14 +368,14 @@
],[
"start",
["text.lsl"," "],
["invalid.unimplemented.lsl","event"],
["invalid.illegal.lsl","event"],
["text.lsl"," "],
["keyword.operator.lsl","="],
["text.lsl"," "],
["constant.numeric.lsl","5673"],
["punctuation.operator.lsl",";"],
["text.lsl"," "],
["comment.line.double-slash.lsl","// unimplemented reserved keyword!"]
["comment.line.double-slash.lsl","// invalid.illegal"]
],[
"start"
],[
@ -401,13 +401,21 @@
],[
"start",
["text.lsl"," "],
["invalid.deprecated.lsl","llCloud"],
["reserved.godmode.lsl","llSetInventoryPermMask"],
["paren.lparen.lsl","("],
["constant.language.vector.lsl","ZERO_VECTOR"],
["string.quoted.double.lsl.start","\""],
["string.quoted.double.lsl","some item"],
["string.quoted.double.lsl.end","\""],
["punctuation.operator.lsl",","],
["text.lsl"," "],
["constant.language.integer.lsl","MASK_NEXT"],
["punctuation.operator.lsl",","],
["text.lsl"," "],
["constant.language.integer.lsl","PERM_ALL"],
["paren.rparen.lsl",")"],
["punctuation.operator.lsl",";"],
["text.lsl"," "],
["comment.line.double-slash.lsl","// invalid deprecated function!"]
["text.lsl"," "],
["comment.line.double-slash.lsl","// reserved.godmode"]
],[
"start"
],[
@ -492,4 +500,4 @@
["paren.rparen.lsl","}"]
],[
"start"
]]
]]

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff