mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-20 02:32:36 +00:00
Fixed Variable.toString()
This commit is contained in:
parent
f1a897e37b
commit
593a8428a0
@ -553,9 +553,9 @@ public class Variable implements Symbol {
|
||||
public String toString(Program program) {
|
||||
return new StringBuilder()
|
||||
.append("(")
|
||||
.append((initValue != null) ? "const " : "")
|
||||
.append(isKindConstant() ? "const " : "")
|
||||
.append(getType().getTypeName())
|
||||
.append((initValue == null && isKindIntermediate()) ? "~" : "")
|
||||
.append(isKindIntermediate() ? "~" : "")
|
||||
.append(") ")
|
||||
.append(getFullName()).toString();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user