diff --git a/SourceGen/Exporter.cs b/SourceGen/Exporter.cs index 6203b47..12a33d2 100644 --- a/SourceGen/Exporter.cs +++ b/SourceGen/Exporter.cs @@ -366,6 +366,11 @@ namespace SourceGen { // Perform some quick substitutions. tmplStr = tmplStr.Replace("$ProjectName$", mProject.DataFileName); tmplStr = tmplStr.Replace("$AppVersion$", App.ProgramVersion.ToString()); + string expModeStr = ((Formatter.FormatConfig.ExpressionMode) + AppSettings.Global.GetEnum(AppSettings.FMT_EXPRESSION_MODE, + typeof(Formatter.FormatConfig.ExpressionMode), + (int)Formatter.FormatConfig.ExpressionMode.Unknown)).ToString(); + tmplStr = tmplStr.Replace("$ExpressionStyle$", expModeStr); // Generate and substitute the symbol table. This should be small enough that // we won't break the world by doing it with string.Replace(). @@ -693,7 +698,7 @@ namespace SourceGen { sb.Append("
" + mFormatter.FormatHexValue(sym.Value, 2) + "