use getHint

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@375 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 51480f5e92
commit 2e22e90384
  1. 3
      jode/jode/flow/InstructionBlock.java

@ -120,7 +120,8 @@ public class InstructionBlock extends InstructionContainer {
Expression expr =
((ComplexExpression) instr).getSubExpressions()[0];
expr.makeInitializer();
writer.println(local.getType() + " " + local.getName() + " = "
writer.println(local.getType().getHint() + " "
+ local.getName() + " = "
+ expr.simplify().toString() + ";");
} else {
if (instr.getType() != jode.Type.tVoid)

Loading…
Cancel
Save