diff options
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; |
