Mercurial > hg > index.cgi
comparison 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 |
comparison
equal
deleted
inserted
replaced
149:729a9c70934e | 150:244f1227f2b5 |
---|---|
34 // OS9 syscall | 34 // OS9 syscall |
35 PARSEFUNC(pseudo_parse_os9) | 35 PARSEFUNC(pseudo_parse_os9) |
36 { | 36 { |
37 lw_expr_t e; | 37 lw_expr_t e; |
38 | 38 |
39 if (as -> output_format != OUTPUT_OS9) | 39 if (as -> output_format != OUTPUT_OS9 && as -> output_format != OUTPUT_OBJ) |
40 { | 40 { |
41 lwasm_register_error(as, l, "os9 directive only valid for OS9 target"); | 41 lwasm_register_error(as, l, "os9 directive only valid for OS9 target"); |
42 return; | 42 return; |
43 } | 43 } |
44 | 44 |