aboutsummaryrefslogtreecommitdiffstats
path: root/src/asm_pass3.py
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-04-11 17:30:08 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-04-11 18:41:56 +0300
commita38b64e1a1bf14dd9c42629f219b0e422aebe52a (patch)
tree8cc08f712ddd3f8573d2b7c8aa243fcd1b6e52df /src/asm_pass3.py
parente240ef3e9a2854cfe390b47fb0b3d519c095193b (diff)
Add hover and go to definition to extension
Diffstat (limited to 'src/asm_pass3.py')
-rw-r--r--src/asm_pass3.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/asm_pass3.py b/src/asm_pass3.py
index 038e3f7..76e7b84 100644
--- a/src/asm_pass3.py
+++ b/src/asm_pass3.py
@@ -6,6 +6,7 @@ from asm_pass2 import *
@dataclass
class Result3Line:
line_num: int
+ src_file: str
address: int
parts: list[str]
original_parts: list[str]
@@ -34,6 +35,7 @@ def pass_3(result2: Result2) -> Result3:
case _:
result_lines.append(Result3Line(
line_num=line.line_num,
+ src_file=line.src_file,
parts=line.parts,
address=address,
original_parts=line.original_parts,