labts fixes #31

Merged
gc1523 merged 5 commits from labts-fixes into runtime-errors 2025-02-27 21:58:02 +00:00
3 changed files with 15 additions and 23 deletions
Showing only changes of commit c31dd9de25 - Show all commits

View File

@@ -82,9 +82,11 @@ def compile(filename: String, outFile: Option[File] = None)(using
def main(args: Array[String]): Unit =
OParser.parse(cliParser, args, CliConfig()) match {
case Some(config) =>
System.exit(compile(
System.exit(
compile(
config.file.getAbsolutePath,
outFile = Some(File(".", config.file.getName.stripSuffix(".wacc") + ".s"))
))
)
)
case None =>
}