updated LSL syntax
This commit is contained in:
parent
e5edb59d00
commit
2b77b9ec8b
4 changed files with 686 additions and 765 deletions
|
|
@ -8,7 +8,7 @@ integer someIntNormal = 3672;
|
||||||
integer someIntHex = 0x00000000;
|
integer someIntHex = 0x00000000;
|
||||||
integer someIntMath = PI_BY_TWO;
|
integer someIntMath = PI_BY_TWO;
|
||||||
|
|
||||||
integer event = 5673; // unimplemented reserved keyword!
|
integer event = 5673; // invalid.illegal
|
||||||
|
|
||||||
key someKeyTexture = TEXTURE_DEFAULT;
|
key someKeyTexture = TEXTURE_DEFAULT;
|
||||||
string someStringSpecial = EOF;
|
string someStringSpecial = EOF;
|
||||||
|
|
@ -53,12 +53,12 @@ default
|
||||||
someIntHex = 0x00000000;
|
someIntHex = 0x00000000;
|
||||||
someIntMath = PI_BY_TWO;
|
someIntMath = PI_BY_TWO;
|
||||||
|
|
||||||
event = 5673; // unimplemented reserved keyword!
|
event = 5673; // invalid.illegal
|
||||||
|
|
||||||
someKeyTexture = TEXTURE_DEFAULT;
|
someKeyTexture = TEXTURE_DEFAULT;
|
||||||
someStringSpecial = EOF;
|
someStringSpecial = EOF;
|
||||||
|
|
||||||
llCloud(ZERO_VECTOR); // invalid deprecated function!
|
llSetInventoryPermMask("some item", MASK_NEXT, PERM_ALL); // reserved.godmode
|
||||||
|
|
||||||
llWhisper(PUBLIC_CHANNEL, "Leaving \"default\" now...");
|
llWhisper(PUBLIC_CHANNEL, "Leaving \"default\" now...");
|
||||||
state other;
|
state other;
|
||||||
|
|
|
||||||
|
|
@ -51,14 +51,14 @@
|
||||||
"start",
|
"start",
|
||||||
["storage.type.lsl","integer"],
|
["storage.type.lsl","integer"],
|
||||||
["text.lsl"," "],
|
["text.lsl"," "],
|
||||||
["invalid.unimplemented.lsl","event"],
|
["invalid.illegal.lsl","event"],
|
||||||
["text.lsl"," "],
|
["text.lsl"," "],
|
||||||
["keyword.operator.lsl","="],
|
["keyword.operator.lsl","="],
|
||||||
["text.lsl"," "],
|
["text.lsl"," "],
|
||||||
["constant.numeric.lsl","5673"],
|
["constant.numeric.lsl","5673"],
|
||||||
["punctuation.operator.lsl",";"],
|
["punctuation.operator.lsl",";"],
|
||||||
["text.lsl"," "],
|
["text.lsl"," "],
|
||||||
["comment.line.double-slash.lsl","// unimplemented reserved keyword!"]
|
["comment.line.double-slash.lsl","// invalid.illegal"]
|
||||||
],[
|
],[
|
||||||
"start"
|
"start"
|
||||||
],[
|
],[
|
||||||
|
|
@ -368,14 +368,14 @@
|
||||||
],[
|
],[
|
||||||
"start",
|
"start",
|
||||||
["text.lsl"," "],
|
["text.lsl"," "],
|
||||||
["invalid.unimplemented.lsl","event"],
|
["invalid.illegal.lsl","event"],
|
||||||
["text.lsl"," "],
|
["text.lsl"," "],
|
||||||
["keyword.operator.lsl","="],
|
["keyword.operator.lsl","="],
|
||||||
["text.lsl"," "],
|
["text.lsl"," "],
|
||||||
["constant.numeric.lsl","5673"],
|
["constant.numeric.lsl","5673"],
|
||||||
["punctuation.operator.lsl",";"],
|
["punctuation.operator.lsl",";"],
|
||||||
["text.lsl"," "],
|
["text.lsl"," "],
|
||||||
["comment.line.double-slash.lsl","// unimplemented reserved keyword!"]
|
["comment.line.double-slash.lsl","// invalid.illegal"]
|
||||||
],[
|
],[
|
||||||
"start"
|
"start"
|
||||||
],[
|
],[
|
||||||
|
|
@ -401,13 +401,21 @@
|
||||||
],[
|
],[
|
||||||
"start",
|
"start",
|
||||||
["text.lsl"," "],
|
["text.lsl"," "],
|
||||||
["invalid.deprecated.lsl","llCloud"],
|
["reserved.godmode.lsl","llSetInventoryPermMask"],
|
||||||
["paren.lparen.lsl","("],
|
["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",")"],
|
["paren.rparen.lsl",")"],
|
||||||
["punctuation.operator.lsl",";"],
|
["punctuation.operator.lsl",";"],
|
||||||
["text.lsl"," "],
|
["text.lsl"," "],
|
||||||
["comment.line.double-slash.lsl","// invalid deprecated function!"]
|
["comment.line.double-slash.lsl","// reserved.godmode"]
|
||||||
],[
|
],[
|
||||||
"start"
|
"start"
|
||||||
],[
|
],[
|
||||||
|
|
@ -492,4 +500,4 @@
|
||||||
["paren.rparen.lsl","}"]
|
["paren.rparen.lsl","}"]
|
||||||
],[
|
],[
|
||||||
"start"
|
"start"
|
||||||
]]
|
]]
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue