While toLLVM fait
This commit is contained in:
@@ -131,10 +131,10 @@ public class PrettyprinterVisitor implements ProgramVisitor<String,String>,
|
||||
@Override
|
||||
public String visitWhile(WhileImp instr, String indent) {
|
||||
String str = indent+"WHILE ";
|
||||
str += (instr.e().accept(this, ""));
|
||||
str+= " DO ";
|
||||
str+= instr.i1().accept(this, "");
|
||||
str+= " DONE";
|
||||
str += (instr.e().accept(this, indent))+"\n";
|
||||
str+= indent+"DO ";
|
||||
str+= instr.i1().accept(this, indent)+"\n";
|
||||
str+= indent+"DONE";
|
||||
return str;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user