aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 33be891..5d5b69c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -12,7 +12,7 @@ int main(int argc, char* argv[]) {
long fsource_size;
char *source;
- fsource = fopen ("examples/hello.halk", "rb");
+ fsource = fopen ("examples/simple.halk", "rb");
if (!fsource) {
log_err("Source file not found");
exit(1);
@@ -49,6 +49,7 @@ int main(int argc, char* argv[]) {
log_inf("Tree root created");
printf("TYPE: [%d]\n", tree->type);
+ printf("SIZE: [%d]\n", tree->data.subtree.size);
fclose(fsource);