about summary refs log tree commit diff
path: root/boot/tree.c
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-07-10 00:59:36 +0200
committerMel <mel@rnrd.eu>2025-07-10 00:59:36 +0200
commitd7f66d5a286a1da1240d5f255b7ae171c8b6a93f (patch)
treebf2ec657f8d87e1f7572b5b728e42964211fe4d4 /boot/tree.c
parent4ef58f4d2b7ea810ab4d5db08fe45216f6597336 (diff)
downloadcatskill-d7f66d5a286a1da1240d5f255b7ae171c8b6a93f.tar.zst
catskill-d7f66d5a286a1da1240d5f255b7ae171c8b6a93f.zip
Fix nil-dereference in `parser_node_type_class`
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot/tree.c')
-rw-r--r--boot/tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/tree.c b/boot/tree.c
index aab05eb..4320279 100644
--- a/boot/tree.c
+++ b/boot/tree.c
@@ -420,6 +420,7 @@ struct Function_Header_Node
     struct Type_Node* return_type;
 
     struct Span span;
+    struct Cursor location;
 };
 
 // a declaration of a variable, constant, or other binding, without a mutability