aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index afede73..e492347 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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;
}