decomp.me icon indicating copy to clipboard operation
decomp.me copied to clipboard

When creating a scratch, assembler error line numbers do not match the input asm

Open bates64 opened this issue 2 years ago • 2 comments

This is probably due to ASM_PRELUDE - we either need something akin to #line in C or to parse the error messages and change the line numbers. The latter may be more brittle but would allow us to show errors inline in the asm textbox.

bates64 avatar Oct 15 '21 12:10 bates64

discussion here: https://discord.com/channels/897066363951128586/897066363951128590/911713302734864455

ethteck avatar Nov 21 '21 13:11 ethteck

I wonder if we can use .include or similar compiler flag to include the prelude

simonlindholm avatar Mar 12 '23 07:03 simonlindholm