X-Git-Url: https://git.subgeniuskitty.com/ned1/.git/blobdiff_plain/bc5b63cf94c1f263bbe3757237b242f40711203b..dc87d2445f5e13146058bd672ad8399fad9e73fb:/nedasm/nedasm.c diff --git a/nedasm/nedasm.c b/nedasm/nedasm.c index 4b4d3bc..c82233d 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 2 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);