aboutsummaryrefslogtreecommitdiff
path: root/asm/main.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-02 23:29:43 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-02 23:29:43 +0000
commit6dfc4ceaeb4090edc199ec894aab4cf6233ce130 (patch)
tree607b8fa0adc12b7b82ff8a3791060ca0a53a7088 /asm/main.c
parent6c4469958e9373773eb7c43d98ff5e20b062c153 (diff)
downloadovm-6dfc4ceaeb4090edc199ec894aab4cf6233ce130.tar.gz
ovm-6dfc4ceaeb4090edc199ec894aab4cf6233ce130.tar.bz2
ovm-6dfc4ceaeb4090edc199ec894aab4cf6233ce130.zip
Better logs for assembler
Diffstat (limited to 'asm/main.c')
-rw-r--r--asm/main.c3
1 files changed, 3 insertions, 0 deletions
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);