Mercurial > hg > index.cgi
diff lwasm/lwasm.h @ 442:61580fc48f98
Add option to omit file names from lwasm listings
Add --list-nofiles option to modify generated listing to omit the filename
specification.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 27 Nov 2017 22:52:17 -0700 |
parents | 58cafa61ab40 |
children | cad5937314cb |
line wrap: on
line diff
--- a/lwasm/lwasm.h Mon Nov 27 22:35:53 2017 -0700 +++ b/lwasm/lwasm.h Mon Nov 27 22:52:17 2017 -0700 @@ -424,6 +424,7 @@ int preprocess; // set if we are prepocessing int fileerr; // flags error opening file int exprwidth; // the bit width of the expression being evaluated + int listnofile; // nonzero to suppress printing file name in listings }; struct symtabe *register_symbol(asmstate_t *as, line_t *cl, char *sym, lw_expr_t value, int flags);