Skip to content

Commit 6a2b704

Browse files
committed
Fix Mos6502AssemblerDebugInfo.ToString()
1 parent ec8d6f8 commit 6a2b704

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Asm6502/Mos6502AssemblerDebugLineInfo.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ public override string ToString()
2424
Mos6502AssemblerDebugInfoKind.CodeSectionEnd => $"${Address:x4} CODE SECTION END",
2525
Mos6502AssemblerDebugInfoKind.DataSectionBegin => $"${Address:x4} DATA SECTION BEGIN: {Name}",
2626
Mos6502AssemblerDebugInfoKind.DataSectionEnd => $"${Address:x4} DATA SECTION END",
27+
Mos6502AssemblerDebugInfoKind.FunctionBegin => $"${Address:x4} FUNCTION BEGIN: {Name}:{LineNumber}",
28+
Mos6502AssemblerDebugInfoKind.FunctionEnd => $"${Address:x4} FUNCTION END",
2729
Mos6502AssemblerDebugInfoKind.End => $"${Address:x4} END",
28-
_ => $"{Address:X4} UNKNOWN KIND"
30+
_ => $"{Address:x4} UNKNOWN KIND"
2931
};
3032
}
3133
}

0 commit comments

Comments
 (0)