enjoy 3.3 release ^_^

This commit is contained in:
James
2017-11-21 22:43:34 +08:00
parent 28eb105ffa
commit 61aa1d2082
70 changed files with 3378 additions and 299 deletions

View File

@@ -72,10 +72,6 @@ public class Const extends Expr {
return value;
}
public String toString() {
return value.toString();
}
public boolean isStr() {
return type == Sym.STR;
}
@@ -139,6 +135,10 @@ public class Const extends Expr {
public Double getDouble() {
return (Double)value;
}
public String toString() {
return value != null ? value.toString() : "null";
}
}