mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-09 08:51:18 +08:00
preproc: Reorder ExpInv to drop padding
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
10083ae953
commit
d57a031616
33
preproc.c
33
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 */
|
||||
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 */
|
||||
unsigned int nparam, rotate;
|
||||
int *paramlen;
|
||||
Token **params; /* actual parameters */
|
||||
Token *iline; /* invocation line */
|
||||
int *paramlen;
|
||||
unsigned int nparam;
|
||||
unsigned int rotate;
|
||||
|
||||
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 */
|
||||
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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user