comparison lwasm/lwasm.h @ 390:1ebb5a0b2874

Add option to specify tab width in listing There is much insistence that generating the asm listing should absolutely not ever in the entire expanse of space and time expand tabs. lwasm, however, does so, and it does so for a reason. That reason is that there are enough users that have enough trouble even understanding what a tab is that it was simpler to just expand them. That said, having a means to actually specify the tab width is pretty much required if you're going to do that, and having a way to disable such expansion is also a good idea. Thanks to Erik G <erik@6809.org> for the base patch to handle this.
author William Astle <lost@l-w.ca>
date Mon, 13 Jul 2015 21:52:43 -0600
parents 221b5f58d8ad
children 6153cb49403c
comparison
equal deleted inserted replaced
389:2d9b7ae6c329 390:1ebb5a0b2874
399 macrotab_t *macros; // macro table 399 macrotab_t *macros; // macro table
400 sectiontab_t *sections; // section table 400 sectiontab_t *sections; // section table
401 exportlist_t *exportlist; // list of exported symbols 401 exportlist_t *exportlist; // list of exported symbols
402 importlist_t *importlist; // list of imported symbols 402 importlist_t *importlist; // list of imported symbols
403 char *list_file; // name of file to list to 403 char *list_file; // name of file to list to
404 int tabwidth; // tab width in list file
404 char *map_file; // name of map file 405 char *map_file; // name of map file
405 char *output_file; // output file name 406 char *output_file; // output file name
406 lw_stringlist_t input_files; // files to assemble 407 lw_stringlist_t input_files; // files to assemble
407 void *input_data; // opaque data used by the input system 408 void *input_data; // opaque data used by the input system
408 lw_stringlist_t include_list; // include paths 409 lw_stringlist_t include_list; // include paths