diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-06-06 03:19:06 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-06-06 03:19:06 +0330 |
commit | 6e86f7b9a3ca057640bcfaa4ea72872dcd8d3af4 (patch) | |
tree | f0a854b8f0860a2a29de95b943e563fb6a2671a3 /src/main.c | |
parent | c64d8217a598364fcb48ed965edc7a138f2f6750 (diff) |
fix when you disable statistics
some more clean up
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -19,7 +19,12 @@ static int run(const char *filePath) { Time totalTime = {0}; start = get_time(); #endif - AstTreeRoots astTrees = makeAstTree(filePath, &lexTime, &parseTime); + AstTreeRoots astTrees = makeAstTree(filePath +#ifdef PRINT_STATISTICS + , + &lexTime, &parseTime +#endif + ); if (astTrees.size == AST_TREE_ROOTS_ERROR.size) { return 1; } |