From 6dfc4ceaeb4090edc199ec894aab4cf6233ce130 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 2 Nov 2023 23:29:43 +0000 Subject: Better logs for assembler --- asm/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'asm/main.c') diff --git a/asm/main.c b/asm/main.c index c642cdc..6965c8c 100644 --- a/asm/main.c +++ b/asm/main.c @@ -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); -- cgit v1.2.3-13-gbd6f