#275 new

Comments in listing

Reported by ray.seyfarth | September 27th, 2014 @ 02:15 PM

I am using the listing file from yasm to determine to help determine how to translate .text addresses to/from line numbers. This works pretty well, but the code is a little strange. This task would be greatly simplified and made more robust if comments were retained in the listing file. I could add line number comments to the end of each line and recognize them easily in the code which determines the translation between line numbers and .text addresses.

There are other ways of achieving the same goal. I tried defining a line number macro hoping that the macro call would be displayed in the listing. The macro generated nothing, so it disappeared from the listing.

I guess the ideal solution would be to have an option where line numbers would be added to the right of the existing listing. This might also be a fairly small change.

I have cloned the yasm source and am considering doing this myself, but it is a little challenge figuring out where this change could be handled.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Yasm Modular Assembler Project

Shared Ticket Bins

People watching this ticket