On Sun, Aug 21, 2011 at 04:46:02PM +0300, thefox xofeht wrote: > So my original question was, how am I supposed to distinguish between > line 3 and 7 (i.e. to know which one expanded to which) when they have > the same count? Ok, after some digging around, I see what you mean. This is an error in the way, the macro nesting counter works. I've fixed it, thanks a lot! For the file: 00 .macro foo 01 .byte $00 02 .endmacro 03 .macro bar 04 .byte $01 05 .endmacro 06 .macro baz 07 foo 08 bar 09 .endmacro 10 baz The following info is now generated: line id=0,file=0,line=11,span=0 line id=1,file=0,line=5,type=2,count=2,span=1 line id=2,file=0,line=2,type=2,count=2,span=2 line id=3,file=0,line=9,type=2,count=1,span=3 line id=4,file=0,line=8,type=2,count=1,span=4 span id=0,seg=0,start=0,size=2 span id=1,seg=0,start=1,size=1 span id=2,seg=0,start=0,size=1 span id=3,seg=0,start=1,size=1 span id=4,seg=0,start=0,size=1 Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun Aug 21 18:38:44 2011
This archive was generated by hypermail 2.1.8 : 2011-08-21 18:38:47 CEST