Mercurial > hg > dmlib
changeset 2286:e771185db600
Add extra formatting to C and ASM outputs.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 20 Jun 2019 14:46:09 +0300 |
parents | 25398f2eba64 |
children | 631bbd451d08 |
files | tools/data2inc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/data2inc.c Tue Jun 18 14:23:02 2019 +0300 +++ b/tools/data2inc.c Thu Jun 20 14:46:09 2019 +0300 @@ -243,7 +243,7 @@ } if (i + 1 < len) - fprintf(fh, ","); + fprintf(fh, optFormatting ? ", " : ","); } } @@ -301,7 +301,7 @@ fprintf(fh, "%d", buf[i]); } - fprintf(fh, ","); + fprintf(fh, optFormatting ? ", " : ","); } }