aboutsummaryrefslogtreecommitdiff
path: root/interpreter/eval.c
diff options
context:
space:
mode:
authorCamil Staps2019-01-07 13:18:55 +0100
committerCamil Staps2019-01-07 13:18:55 +0100
commit1d185ced82b3356b1ac3d181a823efe0605b4f8a (patch)
tree31be77209de5fae9cfa468774864f82b9f2e0d75 /interpreter/eval.c
parentAdd vim-fuspel (diff)
Fix clang errors
Diffstat (limited to 'interpreter/eval.c')
-rw-r--r--interpreter/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpreter/eval.c b/interpreter/eval.c
index 2ea2f0b..a63d51a 100644
--- a/interpreter/eval.c
+++ b/interpreter/eval.c
@@ -416,7 +416,7 @@ struct expression *eval_main(FILE *out, struct fuspel *rules
debug_graphs = debug_graphs_enabled;
#endif
- main_node->kind = EXPR_NAME;
+ main_node->kind = NODE_NAME;
main_node->used_count = 1;
main_node->var1 = my_calloc(1, 5);
strcpy(main_node->var1, "main");