HUGE change

This commit is contained in:
gnembon committed 2019-10-24 08:10:08 -03:00
1 parent fdc0d74ad9
commit 810499f5d0
1 file changed
+2 -2
+2 -2
View File
@@ -921,7 +921,7 @@ public class Expression implements Cloneable
public void UserDefinedFunctionsAndControlFlow() // public just to get the javadoc right
{
// artificial construct to handle user defined functions and function definitions
addLazyFunction(" ",-1, (c, t, lv) -> { // adjust based on c
addLazyFunction("call",-1, (c, t, lv) -> { // adjust based on c
String name = lv.get(lv.size()-1).evalValue(c).getString();
//lv.remove(lv.size()-1); // aint gonna cut it // maybe it will because of the eager eval changes
if (t != Context.SIGNATURE) // just call the function
@@ -3223,7 +3223,7 @@ public class Expression implements Cloneable
}
else // potentially unknown function or just unknown function
{
f = functions.get(" ");
f = functions.get("call");
p = new ArrayList<>();
}
// pop parameters off the stack until we hit the start of