aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorc+12023-05-15 17:50:11 -0400
committerc+12023-05-15 17:50:11 -0400
commit6ada416e01aa358527b243236eae560399b7d84b (patch)
tree7f2f4fd814f24ef10aa46dacbc41baf77987b950 /src/main.c
parentb2aa09bf1958952836e4c2664af122458d246a8b (diff)
augh
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);