comparison lwasm/pass5.c @ 432:58cafa61ab40

Add support for undocumented custom module format (for LW) Nothing to see here. Move along. These are not the droids you are looking for.
author William Astle <lost@l-w.ca>
date Fri, 18 Nov 2016 21:25:43 -0700
parents 8764142b3192
children
comparison
equal deleted inserted replaced
431:6df8d62302e2 432:58cafa61ab40
41 41
42 if (lw_expr_istype(e, lw_expr_type_int)) 42 if (lw_expr_istype(e, lw_expr_type_int))
43 return 0; 43 return 0;
44 if (lw_expr_istype(e, lw_expr_type_oper)) 44 if (lw_expr_istype(e, lw_expr_type_oper))
45 return 0; 45 return 0;
46 if (lw_expr_istype(e, lw_expr_type_special) && as -> output_format == OUTPUT_OBJ) 46 if (lw_expr_istype(e, lw_expr_type_special) && (as -> output_format == OUTPUT_OBJ || as -> output_format == OUTPUT_LWMOD))
47 { 47 {
48 int t; 48 int t;
49 t = lw_expr_specint(e); 49 t = lw_expr_specint(e);
50 if (t == lwasm_expr_secbase) 50 if (t == lwasm_expr_secbase)
51 return 0; 51 return 0;