diff options
author | c+1 | 2023-05-15 17:50:11 -0400 |
---|---|---|
committer | c+1 | 2023-05-15 17:50:11 -0400 |
commit | 6ada416e01aa358527b243236eae560399b7d84b (patch) | |
tree | 7f2f4fd814f24ef10aa46dacbc41baf77987b950 /src/main.c | |
parent | b2aa09bf1958952836e4c2664af122458d246a8b (diff) |
augh
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |