Mercurial > hg > index.cgi
comparison lwasm/list.c @ 194:f8b33b3a45ac
Fix noexpand macro listings to show all bytes output
Fix stupid error when checking for more than 8 bytes for a given source
line so it checks the correct byte length instead of just checking the
length of the current line's output.
author | William Astle <lost@l-w.ca> |
---|---|
date | Wed, 25 Jan 2012 22:39:17 -0700 |
parents | 697bc543368c |
children | 721a5ea5e36a |
comparison
equal
deleted
inserted
replaced
193:68f41eaf44f2 | 194:f8b33b3a45ac |
---|---|
201 fputc(*tc, of); | 201 fputc(*tc, of); |
202 i++; | 202 i++; |
203 } | 203 } |
204 } | 204 } |
205 fputc('\n', of); | 205 fputc('\n', of); |
206 if (cl -> outputl > 8) | 206 if (obytelen > 8) |
207 { | 207 { |
208 for (i = 8; i < obytelen; i++) | 208 for (i = 8; i < obytelen; i++) |
209 { | 209 { |
210 if (i % 8 == 0) | 210 if (i % 8 == 0) |
211 { | 211 { |