diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2011-07-17 20:11:08 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2011-07-17 20:11:08 +0400 |
commit | d57a031616b97b9ebf77bccc5660394eb9b572c8 (patch) | |
tree | 75e915e7e2d84f7e9d38f2c2e73394869b0cbca8 /preproc.c | |
parent | 10083ae95398bd28acf5b3c76c954c8563b41830 (diff) | |
download | nasm-d57a031616b97b9ebf77bccc5660394eb9b572c8.tar.gz nasm-d57a031616b97b9ebf77bccc5660394eb9b572c8.tar.bz2 nasm-d57a031616b97b9ebf77bccc5660394eb9b572c8.zip |
preproc: Reorder ExpInv to drop padding
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'preproc.c')
-rw-r--r-- | preproc.c | 37 |
1 files changed, 19 insertions, 18 deletions
@@ -243,24 +243,25 @@ struct ExpDef { * `paramlen', `rotate' and `unique' are local to the invocation. */ struct ExpInv { - ExpInv *prev; /* previous invocation */ - enum pp_exp_type type; /* expansion type */ - ExpDef *def; /* pointer to expansion definition */ - char *name; /* invocation name */ - Line *label; /* pointer to label */ - char *label_text; /* pointer to label text */ - Line *current; /* pointer to current line in invocation */ - - Token **params; /* actual parameters */ - Token *iline; /* invocation line */ - unsigned int nparam, rotate; - int *paramlen; - - uint64_t unique; - bool emitting; - int lineno; /* current line number in expansion */ - int linnum; /* line number at invocation */ - int relno; /* relative line number at invocation */ + ExpInv *prev; /* previous invocation */ + ExpDef *def; /* pointer to expansion definition */ + char *name; /* invocation name */ + Line *label; /* pointer to label */ + char *label_text; /* pointer to label text */ + Line *current; /* pointer to current line in invocation */ + + Token **params; /* actual parameters */ + Token *iline; /* invocation line */ + int *paramlen; + unsigned int nparam; + unsigned int rotate; + + uint64_t unique; + int lineno; /* current line number in expansion */ + int linnum; /* line number at invocation */ + int relno; /* relative line number at invocation */ + enum pp_exp_type type; /* expansion type */ + bool emitting; }; /* |