projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix tabbing.... Please fix your editors so they do tabbing correctly!!! (Spaces...
[IRC.git]
/
Robust
/
src
/
IR
/
Tree
/
LiteralNode.java
diff --git
a/Robust/src/IR/Tree/LiteralNode.java
b/Robust/src/IR/Tree/LiteralNode.java
index e975c19ed865f16c41b7b94decf2821b2c245172..a080117395e4e6f711ac71f6c7c61a724f5d5018 100644
(file)
--- a/
Robust/src/IR/Tree/LiteralNode.java
+++ b/
Robust/src/IR/Tree/LiteralNode.java
@@
-60,10
+60,10
@@
public class LiteralNode extends ExpressionNode {
public int kind() {
return Kind.LiteralNode;
}
-
+
public Long evaluate() {
eval = null;
- if(this.type.isChar() || this.type.isInt()) {
+ if(this.type.isChar() || this.type.isInt()) {
eval = Long.parseLong(this.value.toString());
}
return eval;