summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser/parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser/parser.c b/src/parser/parser.c
index e5b9973..a74da06 100644
--- a/src/parser/parser.c
+++ b/src/parser/parser.c
@@ -148,6 +148,7 @@ parse_decl(struct parser *ctx)
node->name_len = ctx->tok.len;
node->type = type;
node->ptr_levels = ptr_levels;
+ node->hashmap_entry.hash = ctx->tok.hash;
parser_advance(ctx);
if (ctx->tok.kind == TOK_LPAREN) {