diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-15 19:36:23 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-15 19:36:23 -0400 |
| commit | c3615dc92c667899af7a11b2b25201dad5502ee6 (patch) | |
| tree | bdc5db2b7c1cda415ef58eabd6c6dd23237d0ad6 /src/structs.c | |
| parent | 9c1a7c473d96b80561a845bf15ecfd42cd980135 (diff) | |
Deprecate `auto`
Diffstat (limited to 'src/structs.c')
| -rw-r--r-- | src/structs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/structs.c b/src/structs.c index c5f45c59..401fcb7a 100644 --- a/src/structs.c +++ b/src/structs.c @@ -45,7 +45,7 @@ CORD compile_struct_typeinfo(env_t *env, type_t *t, const char *name, arg_ast_t CORD compile_struct_header(env_t *env, ast_t *ast) { - auto def = Match(ast, StructDef); + DeclareMatch(def, ast, StructDef); CORD typeinfo_name = CORD_all(namespace_prefix(env, env->namespace), def->name, "$$info"); CORD type_code = def->external ? def->name : CORD_all("struct ", namespace_prefix(env, env->namespace), def->name, "$$struct"); |
