Better logs for assembler

This commit is contained in:
2023-11-02 23:29:43 +00:00
parent 6c4469958e
commit 6dfc4ceaeb
2 changed files with 31 additions and 0 deletions

View File

@@ -85,6 +85,9 @@ int main(int argc, char *argv[])
free(buffer.data);
buffer.data = NULL;
#if VERBOSE >= 2
printf("\t[%sPARSER%s]: Beginning parse...\n", TERM_YELLOW, TERM_RESET);
#endif
size_t number = 0;
inst_t *instructions = NULL;
perr_t parse_error = parse_stream(&tokens, &instructions, &number);