diff options
| author | iryuken <eshwarsajja20@gmail.com> | 2026-01-26 02:20:57 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-26 02:20:57 +0530 |
| commit | 59951529ba67d3316a01afd45808c1b20b20c1e1 (patch) | |
| tree | c3724437a8e659f0c3b425c59b4b1440f313ef59 /src/parser/parser_type.c | |
| parent | 5066e09fcac1a679d30afb89af1385352e9b5c60 (diff) | |
| parent | 1fc29e1b1c505759522175478bb447cd3e4ad36d (diff) | |
Merge branch 'z-libs:main' into main
Diffstat (limited to 'src/parser/parser_type.c')
| -rw-r--r-- | src/parser/parser_type.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/parser_type.c b/src/parser/parser_type.c index 0585baa..c01f061 100644 --- a/src/parser/parser_type.c +++ b/src/parser/parser_type.c @@ -634,7 +634,7 @@ Type *parse_type_base(ParserContext *ctx, Lexer *l) { // Look up in symbol table for constant propagation char *name = token_strdup(size_tok); - Symbol *sym = find_symbol_entry(ctx, name); + ZenSymbol *sym = find_symbol_entry(ctx, name); if (sym && sym->is_const_value) { size = sym->const_int_val; @@ -846,7 +846,7 @@ Type *parse_type_formal(ParserContext *ctx, Lexer *l) { Token t = lexer_peek(l); char *name = token_strdup(t); - Symbol *sym = find_symbol_entry(ctx, name); + ZenSymbol *sym = find_symbol_entry(ctx, name); if (sym && sym->is_const_value) { size = sym->const_int_val; |
