Skip to content

Commit

Permalink
Added some (commented out) debugging aid.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 14, 2001
1 parent 65a17d3 commit f435b11
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions last/toby/interpreter/GlobalLogicContext.java
Expand Up @@ -142,6 +142,11 @@ public boolean verifyNewChildType(NodeTree child)
public FunctionLogicContext findFunction(String funcName)
throws ParseException
{
//_D("GlobalLogicContext.findFunction",
// "Looking for [" + funcName + "]...");
//_D("GlobalLogicContext.findFunction",
// "(case sensitive == {" + this.caseSensitive + "}).");

if (this.caseSensitive == false)
funcName = funcName.toLowerCase();

Expand All @@ -160,6 +165,9 @@ public FunctionLogicContext findFunction(String funcName)
{
String fName = ((FunctionLogicContext) func).getFuncName();

//_D("GlobalLogicContext.findFunction",
// "Looking at [" + fName + "] ...");

if (this.caseSensitive == false)
fName = fName.toLowerCase();

Expand All @@ -184,6 +192,9 @@ public FunctionLogicContext findFunction(String funcName)
{
String fName = ((FunctionLogicContext) func).getFuncName();

//_D("GlobalLogicContext.findFunction",
// "Looking at [" + fName + "] ...");

if (this.caseSensitive == false)
fName = fName.toLowerCase();

Expand All @@ -196,6 +207,7 @@ public FunctionLogicContext findFunction(String funcName)
} // else
} // findFunction


protected void freeResourcesImpl()
{
mainlineName = null;
Expand Down

0 comments on commit f435b11

Please sign in to comment.