comparison 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
comparison
equal deleted inserted replaced
441:b138b4005125 442:61580fc48f98
422 int exportcheck; // set if we need to collapse out the section base to 0 422 int exportcheck; // set if we need to collapse out the section base to 0
423 int passno; // set to the current pass number 423 int passno; // set to the current pass number
424 int preprocess; // set if we are prepocessing 424 int preprocess; // set if we are prepocessing
425 int fileerr; // flags error opening file 425 int fileerr; // flags error opening file
426 int exprwidth; // the bit width of the expression being evaluated 426 int exprwidth; // the bit width of the expression being evaluated
427 int listnofile; // nonzero to suppress printing file name in listings
427 }; 428 };
428 429
429 struct symtabe *register_symbol(asmstate_t *as, line_t *cl, char *sym, lw_expr_t value, int flags); 430 struct symtabe *register_symbol(asmstate_t *as, line_t *cl, char *sym, lw_expr_t value, int flags);
430 struct symtabe *lookup_symbol(asmstate_t *as, line_t *cl, char *sym); 431 struct symtabe *lookup_symbol(asmstate_t *as, line_t *cl, char *sym);
431 432