changeset 150:244f1227f2b5

Allow os9 directive in object target
author lost@l-w.ca
date Fri, 26 Aug 2011 23:36:13 -0600
parents 729a9c70934e
children 3b58d76ea032
files lwasm/os9.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;