# HG changeset patch # User lost@l-w.ca # Date 1287968760 21600 # Node ID 4bcb763bdddeac4085b57a524548d862c05a2134 # Parent 33c5bc04ea672d3aeb57905d61caf2b51efc634d Adjusted output in list so that 8 space tabs line up right in output diff -r 33c5bc04ea67 -r 4bcb763bddde lwasm/list.c --- a/lwasm/list.c Sun Sep 19 12:32:52 2010 -0600 +++ b/lwasm/list.c Sun Oct 24 19:06:00 2010 -0600 @@ -116,7 +116,9 @@ } fprintf(of, " "); } - fprintf(of, "(%31.31s):%05d %s\n", cl -> linespec, cl -> lineno, cl -> ltext); + /* the 34.34 below is deliberately chosen so that the start of the line text is at + a multiple of 8 from the start of the list line */ + fprintf(of, "(%34.34s):%05d %s\n", cl -> linespec, cl -> lineno, cl -> ltext); if (cl -> outputl > 8) { for (i = 8; i < cl -> outputl; i++)