mirror of
https://github.com/fadden/6502bench.git
synced 2025-01-05 23:30:20 +00:00
3702448780
Test case: 1. create a label FOO (can be referenced or unreferenced) 2. add a platform symbol file that also defines FOO (the platform symbol will be masked by the user label) 3. rename FOO to BAR (platform symbol should appear) 4. hit "undo" (platform symbol should disappear) 5. delete label FOO (platform symbol should appear) 6. hit "undo" (platform symbol should disappear) This will fail to update the display list properly, and/or crash when we try to add FOO to a symbol table that already has a symbol with that label. The problem is the optimization that tries to avoid running the data analysis pass if we're just renaming a user label. We need to check to see if the rename overlaps with project/platform symbols, because we need to update the active def symbol set in that case. To avoid the crash, we just need to use table[key]=value syntax instead of table.Add(key,value). |
||
---|---|---|
.. | ||
AsmGen | ||
Examples | ||
Properties | ||
Res | ||
RuntimeData | ||
Sandbox | ||
SGTestData | ||
Tests | ||
Tools | ||
WpfGui | ||
Anattrib.cs | ||
App.config | ||
App.xaml | ||
App.xaml.cs | ||
AppSettings.cs | ||
AutoLabel.cs | ||
ChangeSet.cs | ||
CodeAnalysis.cs | ||
DataAnalysis.cs | ||
DefSymbol.cs | ||
DisasmProject.cs | ||
DisplayList.cs | ||
DisplayListSelection.cs | ||
Exporter.cs | ||
ExternalFile.cs | ||
FormatDescriptor.cs | ||
FormattedOperandCache.cs | ||
HelpAccess.cs | ||
LineListGen.cs | ||
LocalVariableLookup.cs | ||
LocalVariableTable.cs | ||
MainController.cs | ||
MultiLineComment.cs | ||
NavStack.cs | ||
PlatformSymbols.cs | ||
ProblemList.cs | ||
ProjectFile.cs | ||
ProjectProperties.cs | ||
PseudoOp.cs | ||
RuntimeDataAccess.cs | ||
SourceGen.csproj | ||
Symbol.cs | ||
SymbolTable.cs | ||
SystemDefaults.cs | ||
SystemDefs.cs | ||
UndoableChange.cs | ||
WeakSymbolRef.cs | ||
XrefSet.cs |