aboutsummaryrefslogtreecommitdiff
path: root/asm/main.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-03 21:50:44 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-03 21:50:44 +0000
commite6f580ba56b3cb2a41ef5436aaf6c55d6500490d (patch)
treef22a7629a753c1b447c73f6a58028ea4a7af0486 /asm/main.c
parent32ee84ef7012b05add6003be6730d8a0bb0ffe00 (diff)
downloadovm-e6f580ba56b3cb2a41ef5436aaf6c55d6500490d.tar.gz
ovm-e6f580ba56b3cb2a41ef5436aaf6c55d6500490d.tar.bz2
ovm-e6f580ba56b3cb2a41ef5436aaf6c55d6500490d.zip
Removed tabs from VERBOSE logs in asm/main.c
Diffstat (limited to 'asm/main.c')
-rw-r--r--asm/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/asm/main.c b/asm/main.c
index 842d8e9..21bfdfc 100644
--- a/asm/main.c
+++ b/asm/main.c
@@ -68,12 +68,12 @@ int main(int argc, char *argv[])
goto end;
}
#if VERBOSE >= 1
- printf("\t[%sTOKENISER%s]: %lu bytes -> %lu tokens\n", TERM_GREEN, TERM_RESET,
+ printf("[%sTOKENISER%s]: %lu bytes -> %lu tokens\n", TERM_GREEN, TERM_RESET,
buffer.used, tokens.available);
#endif
#if VERBOSE >= 2
- printf("\t[%sTOKENISER%s]: Tokens parsed:\n", TERM_GREEN, TERM_RESET);
+ printf("[%sTOKENISER%s]: Tokens parsed:\n", TERM_GREEN, TERM_RESET);
for (size_t i = 0; i < tokens.available; ++i)
{
token_t token = TOKEN_STREAM_AT(tokens.data, i);
@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
buffer.data = NULL;
#if VERBOSE >= 2
- printf("\t[%sPARSER%s]: Beginning parse...\n", TERM_YELLOW, TERM_RESET);
+ printf("[%sPARSER%s]: Beginning parse...\n", TERM_YELLOW, TERM_RESET);
#endif
prog_t *program = NULL;
perr_t parse_error = parse_stream(&tokens, &program);
@@ -106,12 +106,12 @@ int main(int argc, char *argv[])
goto end;
}
#if VERBOSE >= 1
- printf("\t[%sPARSER%s]: %lu tokens -> %lu instructions\n", TERM_GREEN,
+ printf("[%sPARSER%s]: %lu tokens -> %lu instructions\n", TERM_GREEN,
TERM_RESET, tokens.available, program->count);
#endif
#if VERBOSE >= 2
- printf("\t[%sPARSER%s]: Instructions parsed:\n", TERM_GREEN, TERM_RESET);
+ printf("[%sPARSER%s]: Instructions parsed:\n", TERM_GREEN, TERM_RESET);
for (size_t i = 0; i < program->count; ++i)
{
printf("\t[%lu]: ", i);