add structs to the constructor params of GenASM

This commit is contained in:
2020-03-05 23:03:12 +01:00
parent 3f18fa56c2
commit 622be803cc

View File

@@ -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());
}