Mercurial > hg-old > index.cgi
diff lwasm/lwasm.h @ 351:4dba8c7e242c
conditional pseudo ops added
author | lost@starbug |
---|---|
date | Sat, 27 Mar 2010 23:37:30 -0600 |
parents | dcd2978a7d18 |
children | faa97115952e |
line wrap: on
line diff
--- a/lwasm/lwasm.h Sat Mar 27 22:59:15 2010 -0600 +++ b/lwasm/lwasm.h Sat Mar 27 23:37:30 2010 -0600 @@ -99,7 +99,9 @@ unsigned char *output; // output bytes int outputl; // size of output int outputbl; // size of output buffer + int dpval; // direct page value lwasm_error_t *err; // list of errors + lwasm_error_t *warn; // list of errors line_t *prev; // previous line line_t *next; // next line @@ -148,6 +150,7 @@ int errorcount; // number of errors encountered int inmacro; // are we in a macro? int skipcond; // skipping a condition? + int skipcount; // depth of "skipping" int skipmacro; // are we skipping in a macro? int endseen; // have we seen an "end" pseudo? int execaddr; // address from "end" @@ -181,6 +184,7 @@ #ifndef ___lwasm_c_seen___ extern void lwasm_register_error(asmstate_t *as, line_t *cl, const char *msg, ...); +extern void lwasm_register_warning(asmstate_t *as, line_t *cl, const char *msg, ...); extern int lwasm_next_context(asmstate_t *as); extern void lwasm_emit(line_t *cl, int byte); extern void lwasm_emitop(line_t *cl, int opc);