comparison lwasm/lwasm.h @ 2:7317fbe024af

Clean up insane number of compiler warnings under -Wall
author lost@l-w.ca
date Thu, 20 Jan 2011 22:39:46 -0700
parents 2c24602be78f
children bd8b3fbd1e28
comparison
equal deleted inserted replaced
1:96c4dc89016e 2:7317fbe024af
302 302
303 extern void lwasm_show_errors(asmstate_t *as); 303 extern void lwasm_show_errors(asmstate_t *as);
304 304
305 extern int lwasm_reduce_expr(asmstate_t *as, lw_expr_t expr); 305 extern int lwasm_reduce_expr(asmstate_t *as, lw_expr_t expr);
306 306
307 extern lw_expr_t lwasm_parse_cond(asmstate_t *as, char **p);
308
309 #endif
310
307 extern void debug_message(asmstate_t *as, int level, const char *fmt, ...); 311 extern void debug_message(asmstate_t *as, int level, const char *fmt, ...);
308 extern void dump_state(asmstate_t *as); 312 extern void dump_state(asmstate_t *as);
309 313
310 extern lw_expr_t lwasm_parse_cond(asmstate_t *as, char **p);
311
312 #endif
313 314
314 #define OPLEN(op) (((op)>0xFF)?2:1) 315 #define OPLEN(op) (((op)>0xFF)?2:1)
315 #define CURPRAGMA(l,p) (((l)->pragmas & (p)) ? 1 : 0) 316 #define CURPRAGMA(l,p) (((l)->pragmas & (p)) ? 1 : 0)
316 317
317 #endif /* ___lwasm_h_seen___ */ 318 #endif /* ___lwasm_h_seen___ */