mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
cosmetics
This commit is contained in:
@@ -68,12 +68,14 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
TokenName name = new TokenName(null, param.Name);
|
||||
argDecl.AddArg(type, name);
|
||||
}
|
||||
TokenDeclVar declFunc = new TokenDeclVar(null, null, null);
|
||||
declFunc.name = new TokenName(null, key);
|
||||
declFunc.retType = TokenType.FromSysType(null, ifaceMethod.ReturnType);
|
||||
declFunc.argDecl = argDecl;
|
||||
TokenDeclVar declFunc = new TokenDeclVar(null, null, null)
|
||||
{
|
||||
name = new TokenName(null, key),
|
||||
retType = TokenType.FromSysType(null, ifaceMethod.ReturnType),
|
||||
argDecl = argDecl
|
||||
};
|
||||
|
||||
// Add the TokenDeclVar struct to the dictionary.
|
||||
// Add the TokenDeclVar struct to the dictionary.
|
||||
this.AddEntry(declFunc);
|
||||
}
|
||||
catch(Exception except)
|
||||
@@ -82,7 +84,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
string msg = except.ToString();
|
||||
int i = msg.IndexOf("\n");
|
||||
if(i > 0)
|
||||
msg = msg.Substring(0, i);
|
||||
msg = msg[..i];
|
||||
Console.WriteLine("InternalFuncDict*: {0}: {1}", key, msg);
|
||||
|
||||
///??? IGNORE ANY THAT FAIL - LIKE UNRECOGNIZED TYPE ???///
|
||||
|
||||
Reference in New Issue
Block a user