add structs to the constructor params of GenASM
This commit is contained in:
@@ -131,7 +131,7 @@ public class Klang {
|
||||
// System.out.println("\nPrinting the assembler code");
|
||||
StringWriter wAsm = new StringWriter();
|
||||
GenASM.ExWriter exAsm = new GenASM.ExWriter(wAsm);
|
||||
GenASM genasm = new GenASM(exAsm, mainName);
|
||||
GenASM genasm = new GenASM(exAsm, mainName, structs);
|
||||
root.welcome(genasm);
|
||||
generateOutput(out, wAsm.toString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user