X-Git-Url: http://git.subgeniuskitty.com/ned1/.git/blobdiff_plain/bc5b63cf94c1f263bbe3757237b242f40711203b..17afe1a6a042a3dfe51e11a636bdcaf469101bdd:/nedasm/nedasm.c diff --git a/nedasm/nedasm.c b/nedasm/nedasm.c index 4b4d3bc..1b64a4d 100644 --- a/nedasm/nedasm.c +++ b/nedasm/nedasm.c @@ -14,7 +14,7 @@ #include "nedasm_parser.h" #include "nedasm_codegen.h" -#define VERSION 1 +#define VERSION 3 void print_usage(char ** argv) @@ -195,10 +195,6 @@ main(int argc, char ** argv) */ parse_assembly(&instructions, input); fclose(input); -// if (instructions == NULL) { -// fprintf(stderr, "ERROR: Failed to parse any input.\n"); -// exit(EXIT_FAILURE); -// } /* * Make passes over the intermediate representation to enforce architecture @@ -208,7 +204,6 @@ main(int argc, char ** argv) enforce_word_boundary(instructions); assign_addresses(instructions); resolve_labels(instructions); - prune_label_structs(instructions); generate_code(instructions, output);