aboutsummaryrefslogtreecommitdiff
path: root/macros.go
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-09-27 08:46:24 +0900
committerAstatin <astatin@redacted>2024-09-27 08:46:24 +0900
commite543410ac3b4787b9922ef065a703482c3aeeb1f (patch)
tree2ae8f30a61b58cfa1f0f0e0124447e718bde9279 /macros.go
parent7657996ad68689b437f742516f0f285e53e8f0e3 (diff)
Fix JR offset inside of macros + line number in error messages
Diffstat (limited to 'macros.go')
-rw-r--r--macros.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.go b/macros.go
index e08562c..30ab64a 100644
--- a/macros.go
+++ b/macros.go
@@ -173,7 +173,7 @@ func MacroParse(
if err != nil {
return err
}
- new_instructions, err := secondPass("MACRO$"+definedMacroName, macroContent, offset, state)
+ new_instructions, err := secondPass("MACRO$"+definedMacroName, macroContent, 0, state)
if err != nil {
return err
}