diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-01 12:43:08 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-01 12:43:08 -0400 |
| commit | 0a7062e2d711b5ac7fb71e873f293a8f0d0e8bc6 (patch) | |
| tree | 912ae69dd9906dee11424433ff5367237296b0f6 /src/compile/expressions.c | |
| parent | 5fc7577b5a3bc2c445522dfd5b287e1c6eddc3e9 (diff) | |
Improved error messages
Diffstat (limited to 'src/compile/expressions.c')
| -rw-r--r-- | src/compile/expressions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile/expressions.c b/src/compile/expressions.c index 2320474a..e21ee263 100644 --- a/src/compile/expressions.c +++ b/src/compile/expressions.c @@ -234,7 +234,7 @@ Text_t compile(env_t *env, ast_t *ast) { case If: return compile_if_expression(env, ast); case Reduction: return compile_reduction(env, ast); case FieldAccess: return compile_field_access(env, ast); - case Index: return compile_indexing(env, ast); + case Index: return compile_indexing(env, ast, false); case InlineCCode: { type_t *t = get_type(env, ast); if (t->tag == VoidType) return Texts("{\n", compile_statement(env, ast), "\n}"); |
