nasm listing difficult to read

dancie reeeves danny_reeves at hotmail.com
Thu Sep 21 14:04:03 PDT 2006


I found the nasm type listing was very hard to read. Every other line
had '%line -------'. This made the listing very hard to read.
I changed the code in the file nasm-lintfmt.c on line 167 - to 

	if (!bc) {
		/* remove the line -- %line + --- etc to make the listing easier to
read
		   just check for the '%' at the begin of the line*/
	    if(source[0] != 0x25)
	    	fprintf(f, "%6lu %*s%s\n", listline++, 32, "", source);
	}

I found this a much easier listing file to read.
Dancie



More information about the yasm-devel mailing list