mirror of
https://github.com/fadden/6502bench.git
synced 2025-04-07 00:37:06 +00:00
Update comments, remove unused var
This commit is contained in:
parent
b508fa6b4a
commit
73f04ef2d2
@ -1643,6 +1643,9 @@ namespace SourceGen {
|
||||
// the undo operation.
|
||||
Debug.WriteLine("EditAddress: not allowed to remove address at offset +000000");
|
||||
} else if (true || attr.Address != dlg.Address) {
|
||||
// NOTE: we used to prevent creation of an apparently redundant address change,
|
||||
// but it's really helpful to put one on code that isn't moving before you
|
||||
// start moving other stuff around.
|
||||
Debug.WriteLine("EditAddress: changing addr at offset +" + offset.ToString("x6") +
|
||||
" to " + dlg.Address);
|
||||
|
||||
|
@ -38,7 +38,7 @@ namespace SourceGen {
|
||||
/// Alphanumeric ASCII + underscore for label, which must start at beginning of line.
|
||||
/// Value is somewhat arbitrary, but ends if we see a comment delimiter (semicolon) or
|
||||
/// whitespace. Spaces are allowed between tokens, but not required. Value, width,
|
||||
/// and mask may be hex, decimal, or binary.
|
||||
/// and mask may be hex, decimal, or binary; these are simply tokenized by regex.
|
||||
///
|
||||
/// Looks like:
|
||||
/// NAME {@,=,<,>} VALUE [& MASK] [WIDTH] [;COMMENT]
|
||||
|
@ -190,7 +190,7 @@ namespace SourceGen.WpfGui {
|
||||
|
||||
Label = Value = VarWidth = Comment = string.Empty;
|
||||
|
||||
int maxWidth, maxAddr;
|
||||
int maxWidth;
|
||||
if (isVariable) {
|
||||
ConstantLabel = (string)FindResource("str_VariableConstant");
|
||||
maxWidth = 256;
|
||||
|
Loading…
x
Reference in New Issue
Block a user