Mercurial > hg > index.cgi
diff lwasm/section.c @ 459:ed7b8f74087d
Fix error handling sections for lwmod target.
author | William Astle <lost@l-w.ca> |
---|---|
date | Wed, 28 Feb 2018 18:41:26 -0700 |
parents | 58cafa61ab40 |
children |
line wrap: on
line diff
--- a/lwasm/section.c Sat Feb 17 00:13:46 2018 -0700 +++ b/lwasm/section.c Wed Feb 28 18:41:26 2018 -0700 @@ -171,7 +171,7 @@ PARSEFUNC(pseudo_parse_endsection) { - if (as -> output_format != OUTPUT_OBJ) + if (as -> output_format != OUTPUT_OBJ && as -> output_format != OUTPUT_LWMOD) { lwasm_register_error(as, l, E_SECTION_TARGET); return;