I'm currently working on a project where the assembler code consists almost entirely of macros. And currently this makes development with YASM very frustrating due to the fact that the debugging information treats entire macros as a single statement. Would it be feasible to use the line numbers of the instructions within in the innermost macro body instead? This ought to be the preferred behavior in almost all cases but perhaps binding statements to the same source line is problematic.<br>
Similarly syntax errors within macros are also reported only for the outermost macro invocation. Perhaps warnings and errors could be reported the entire macro chain?<br><br>I took a quick peek at the source but realized I wouldn't have much chance without first studying the design of YASM, and I suspect that these are either trivial fixes for someone familiar with the code or they'll require significant redesign of the internal datastructures.<br>