diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-29 23:09:51 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-29 23:09:51 +0000 |
commit | 60588129b45d0dbd603c79c02929480799c992f3 (patch) | |
tree | 35b203acd2ecabe1f8da88afda4911cfb493f919 /asm/main.c | |
parent | fa3ecc00731d3f6045ba2c18aced28cb988d6fa9 (diff) | |
download | ovm-60588129b45d0dbd603c79c02929480799c992f3.tar.gz ovm-60588129b45d0dbd603c79c02929480799c992f3.tar.bz2 ovm-60588129b45d0dbd603c79c02929480799c992f3.zip |
Cleaned up logs in assembler/parser
Diffstat (limited to 'asm/main.c')
-rw-r--r-- | asm/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |