summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2011-07-17 20:11:08 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2011-07-17 20:11:08 +0400
commitd57a031616b97b9ebf77bccc5660394eb9b572c8 (patch)
tree75e915e7e2d84f7e9d38f2c2e73394869b0cbca8
parent10083ae95398bd28acf5b3c76c954c8563b41830 (diff)
downloadnasm-d57a031616b97b9ebf77bccc5660394eb9b572c8.tar.gz
preproc: Reorder ExpInv to drop padding
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--preproc.c37
1 files changed, 19 insertions, 18 deletions
diff --git a/preproc.c b/preproc.c
index 9173d9a9..f5d0fd15 100644
--- a/preproc.c
+++ b/preproc.c
@@ -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;
};
/*