Cleaned up logs in assembler/parser

This commit is contained in:
2023-11-29 23:09:51 +00:00
parent fa3ecc0073
commit 60588129b4
2 changed files with 43 additions and 38 deletions

View File

@@ -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