Mercurial > hg > index.cgi
comparison lwasm/main.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 | b4825b42c151 |
children | b138b4005125 |
comparison
equal
deleted
inserted
replaced
431:6df8d62302e2 | 432:58cafa61ab40 |
---|---|
192 else if (!strcasecmp(arg, "os9")) | 192 else if (!strcasecmp(arg, "os9")) |
193 { | 193 { |
194 as -> pragmas |= PRAGMA_DOLLARNOTLOCAL; | 194 as -> pragmas |= PRAGMA_DOLLARNOTLOCAL; |
195 as -> output_format = OUTPUT_OS9; | 195 as -> output_format = OUTPUT_OS9; |
196 } | 196 } |
197 else if (!strcasecmp(arg, "lwmod")) | |
198 { | |
199 as -> output_format = OUTPUT_LWMOD; | |
200 } | |
197 else | 201 else |
198 { | 202 { |
199 fprintf(stderr, "Invalid output format: %s\n", arg); | 203 fprintf(stderr, "Invalid output format: %s\n", arg); |
200 exit(1); | 204 exit(1); |
201 } | 205 } |