Mercurial > hg > index.cgi
diff lwasm/main.c @ 212:b0d53e2f3f53
Make --6309/--6809 work properly
Fixed an inverted test that checked for 6809/6309 mode incorrectly. This
also fixes the fact that 6309 mode was not the default as per the
documentation.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sat, 09 Jun 2012 23:17:43 -0600 |
parents | 1824cabf25ce |
children | afd50d6b4113 |
line wrap: on
line diff
--- a/lwasm/main.c Sat Jun 09 17:23:04 2012 -0600 +++ b/lwasm/main.c Sat Jun 09 23:17:43 2012 -0600 @@ -244,7 +244,8 @@ asmstate.include_list = lw_stringlist_create(); asmstate.input_files = lw_stringlist_create(); asmstate.nextcontext = 1; - + asmstate.target = TARGET_6309; + /* parse command line arguments */ lw_cmdline_parse(&cmdline_parser, argc, argv, 0, 0, &asmstate);