cosmetics
parent
22e201bb49
commit
665037e366
|
@ -612,9 +612,9 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
|||
}
|
||||
|
||||
// Check for option enables.
|
||||
|
||||
if ((c == ';') && (lastToken is TokenName) &&
|
||||
(strcasecmp(((TokenName)lastToken).val, "yoptions") == 0))
|
||||
if ((c == ';') && (lastToken is TokenName))
|
||||
{
|
||||
if(strcasecmp(((TokenName)lastToken).val, "yoptions") == 0)
|
||||
{
|
||||
options.advFlowCtl = true;
|
||||
options.tryCatch = true;
|
||||
|
@ -623,9 +623,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
|||
lastToken.nextToken = null;
|
||||
continue;
|
||||
}
|
||||
|
||||
else if ((c == ';') && (lastToken is TokenName) &&
|
||||
(lastToken.prevToken is TokenName) &&
|
||||
else if ((lastToken.prevToken is TokenName) &&
|
||||
(strcasecmp(((TokenName)lastToken.prevToken).val, "yoption") == 0))
|
||||
{
|
||||
string opt = ((TokenName)lastToken).val;
|
||||
|
@ -660,6 +658,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
|||
lastToken.nextToken = null;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// Lastly, check for delimeters.
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue