From 60588129b45d0dbd603c79c02929480799c992f3 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 29 Nov 2023 23:09:51 +0000 Subject: Cleaned up logs in assembler/parser --- asm/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'asm/main.c') diff --git a/asm/main.c b/asm/main.c index 271dcc9..32b8187 100644 --- a/asm/main.c +++ b/asm/main.c @@ -47,7 +47,8 @@ int main(int argc, char *argv[]) fclose(fp); #if VERBOSE >= 1 - printf("[%sASSEMBLER%s]: Read `%s`\n", TERM_YELLOW, TERM_RESET, source_file); + printf("[%sASSEMBLER%s]: Read `%s` -> %lu bytes\n", TERM_YELLOW, TERM_RESET, + source_file, buffer.available); #endif token_stream_t tokens = {0}; @@ -73,7 +74,7 @@ int main(int argc, char *argv[]) } #if VERBOSE >= 1 printf("[%sTOKENISER%s]: %lu bytes -> %lu tokens\n", TERM_GREEN, TERM_RESET, - buffer.used, tokens.available); + buffer.available, tokens.available); #endif #if VERBOSE >= 2 -- cgit v1.2.3-13-gbd6f