diff 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
line wrap: on
line diff
--- a/lwasm/main.c	Wed Nov 16 19:36:16 2016 -0700
+++ b/lwasm/main.c	Fri Nov 18 21:25:43 2016 -0700
@@ -194,6 +194,10 @@
 			as -> pragmas |= PRAGMA_DOLLARNOTLOCAL;
 			as -> output_format = OUTPUT_OS9;
 		}
+		else if (!strcasecmp(arg, "lwmod"))
+		{
+			as -> output_format = OUTPUT_LWMOD;
+		}
 		else
 		{
 			fprintf(stderr, "Invalid output format: %s\n", arg);