fix: remove logging from Main
This commit is contained in:
parent
ab28f0950a
commit
0391b9deba
@ -222,7 +222,6 @@ def compile(filename: String, outFile: Option[File] = None)(using
|
||||
frontend(os.read(os.Path(filename))) match {
|
||||
case Left(typedProg) =>
|
||||
val asmFile = outFile.getOrElse(File(filename.stripSuffix(".wacc") + ".s"))
|
||||
println("OUTPUT TO" + asmFile.getAbsolutePath())
|
||||
backend(typedProg) match {
|
||||
case s: String =>
|
||||
os.write.over(os.Path(asmFile.getAbsolutePath), s)
|
||||
|
Loading…
x
Reference in New Issue
Block a user