diff lwasm/os9.c @ 150:244f1227f2b5

Allow os9 directive in object target
author lost@l-w.ca
date Fri, 26 Aug 2011 23:36:13 -0600
parents 86d097dceebc
children 8764142b3192
line wrap: on
line diff
--- a/lwasm/os9.c	Fri Aug 26 23:36:00 2011 -0600
+++ b/lwasm/os9.c	Fri Aug 26 23:36:13 2011 -0600
@@ -36,7 +36,7 @@
 {
 	lw_expr_t e;
 	
-	if (as -> output_format != OUTPUT_OS9)
+	if (as -> output_format != OUTPUT_OS9 && as -> output_format != OUTPUT_OBJ)
 	{
 		lwasm_register_error(as, l, "os9 directive only valid for OS9 target");
 		return;