# HG changeset patch # User William Astle # Date 1432155978 21600 # Node ID b6933dc299e631c7c67e0705e249554be0f3aa43 # Parent c6bd6e9bc6df00a6f49913d557c201771f7aafef 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. diff -r c6bd6e9bc6df -r b6933dc299e6 lwasm/list.c --- 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) {