Mercurial > hg > index.cgi
diff lwasm/list.c @ 357:b6933dc299e6
Make listings show the address for lines that only define symbols
Make sure that symbols being defined by themselves on a line actually
display the line address in the code display area of the listing.
author | William Astle <lost@l-w.ca> |
---|---|
date | Wed, 20 May 2015 15:06:18 -0600 |
parents | dc763f806dc4 |
children | 35d4213e6657 |
line wrap: on
line diff
--- a/lwasm/list.c Tue May 19 12:28:37 2015 -0600 +++ b/lwasm/list.c Wed May 20 15:06:18 2015 -0600 @@ -130,7 +130,7 @@ memmove(obytes, cl -> output, cl -> outputl); } } - if ((cl -> len < 1 && cl -> dlen < 1) && obytelen < 1) + if ((cl -> len < 1 && cl -> dlen < 1) && obytelen < 1 && (cl -> symset == 1 || cl -> sym == NULL) ) { if (cl -> soff >= 0) {