Change loc_t to cloc_t to avoid AIX conflict.
We really shouldn't use _t names at all; they are usually considered
platform types, but worry about that later.
static int i; /* The t_type of tokval */
static void *scpriv;
-static loc_t *location; /* Pointer to current line's segment,offset */
+static cloc_t *location; /* Pointer to current line's segment,offset */
static int *opflags;
static struct eval_hints *hint;
}
void eval_global_info(struct ofmt *output, lfunc lookup_label,
- loc_t * locp)
+ cloc_t * locp)
{
outfmt = output;
labelfunc = lookup_label;
* look labels up.
*/
void eval_global_info(struct ofmt *output, lfunc lookup_label,
- loc_t * locp);
+ cloc_t * locp);
/*
* The evaluator itself.
static uint32_t cpu = IF_PLEVEL; /* passed to insn_size & assemble.c */
int global_offset_changed; /* referenced in labels.c */
-static loc_t location;
+static cloc_t location;
int in_abs_seg; /* Flag we are in ABSOLUTE seg */
int32_t abs_seg; /* ABSOLUTE segment basis */
int32_t abs_offset; /* ABSOLUTE offset */
int32_t segment;
int64_t offset;
int known;
-} loc_t;
+} cloc_t;
/*
* Expression-evaluator datatype. Expressions, within the
static struct tokenval tokval;
static efunc error;
static struct ofmt *outfmt; /* Structure of addresses of output routines */
-static loc_t *location; /* Pointer to current line's segment,offset */
+static cloc_t *location; /* Pointer to current line's segment,offset */
-void parser_global_info(struct ofmt *output, loc_t * locp)
+void parser_global_info(struct ofmt *output, cloc_t * locp)
{
outfmt = output;
location = locp;
#ifndef NASM_PARSER_H
#define NASM_PARSER_H
-void parser_global_info(struct ofmt *output, loc_t * locp);
+void parser_global_info(struct ofmt *output, cloc_t * locp);
insn *parse_line(int pass, char *buffer, insn * result,
efunc error, evalfunc evaluate, ldfunc ldef);
void cleanup_insn(insn * instruction);