From 00ac28c553f79455494c94ec8a1428893822e7ae Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Sat, 4 Feb 2023 12:52:18 +0200 Subject: [PATCH] Commands - Enable pretty code generation on the command-line by default - Explicitly make the `SymbolMappingTechnique.HASHMAPPER` the default symbol translation technique --- source/tlang/commandline/commands.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/tlang/commandline/commands.d b/source/tlang/commandline/commands.d index d57ffe0c..204012b2 100644 --- a/source/tlang/commandline/commands.d +++ b/source/tlang/commandline/commands.d @@ -59,11 +59,11 @@ mixin template EmitBase() { @ArgNamed("symbol-mapper|sm", "The symbol mapping technique to use") @(ArgConfig.optional) - SymbolMappingTechnique symbolTechnique; + SymbolMappingTechnique symbolTechnique = SymbolMappingTechnique.HASHMAPPER; @ArgNamed("prettygen|pg", "Generate pretty-printed code") @(ArgConfig.optional) - bool prettyPrintCodeGen; + bool prettyPrintCodeGen = true; @ArgNamed("output|o", "Filename of generated object file") @(ArgConfig.optional)