mirror of
https://github.com/fadden/6502bench.git
synced 2025-07-05 20:23:56 +00:00
Eliminate BoxLineCommentDelimiter
This was used to prefix boxed lines with a comment delimiter, but in practice we just need to do this whenever the box character doesn't match the full-line comment delimiter. This has no effect on generated assembly output, but the on-screen (and exported HTML) form will now reflect the current settings.
This commit is contained in:
@ -488,12 +488,11 @@ namespace SourceGen {
|
||||
Debug.WriteLine("ApplyAppSettings...");
|
||||
AppSettings settings = AppSettings.Global;
|
||||
|
||||
// Set up the formatter.
|
||||
// Set up the formatter with default values.
|
||||
mFormatterConfig = new Formatter.FormatConfig();
|
||||
AsmGen.GenCommon.ConfigureFormatterFromSettings(AppSettings.Global,
|
||||
ref mFormatterConfig);
|
||||
mFormatterConfig.EndOfLineCommentDelimiter = ";";
|
||||
mFormatterConfig.BoxLineCommentDelimiter = string.Empty;
|
||||
|
||||
mFormatterConfig.NonUniqueLabelPrefix =
|
||||
settings.GetString(AppSettings.FMT_NON_UNIQUE_LABEL_PREFIX, string.Empty);
|
||||
|
Reference in New Issue
Block a user