Remove extra newlines from assembly listings
Those new lines were added in commit 6b2119f9. This is basically an improved version of that fix. Fixes #149.
This commit is contained in:
parent
ca5a957bcd
commit
687d1ff017
@ -358,7 +358,6 @@ static void readline(unsigned char *line)
|
||||
cont=FALSE;
|
||||
do {
|
||||
if (inpf==NULL || pc_eofsrc(inpf)) {
|
||||
pc_writeasm(outf,"\n"); /* insert a newline at the end of file */
|
||||
if (cont)
|
||||
error(49); /* invalid line continuation */
|
||||
if (inpf!=NULL && inpf!=inpf_org)
|
||||
|
@ -264,7 +264,7 @@ SC_FUNC void setfiledirect(char *name)
|
||||
{
|
||||
if (sc_status==statFIRST && sc_listing) {
|
||||
assert(name!=NULL);
|
||||
pc_writeasm(outf,"#file \"");
|
||||
pc_writeasm(outf,"\n#file \"");
|
||||
pc_writeasm(outf,name);
|
||||
pc_writeasm(outf,"\"\n");
|
||||
} /* if */
|
||||
|
Loading…
x
Reference in New Issue
Block a user