From: Wolfgang (Blub) Bumiller Date: Sun, 25 Nov 2012 22:35:49 +0000 (+0100) Subject: don't set the request-Lvalue flag for an array index X-Git-Tag: 0.1.9~214 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d70fcdec42459536cc032170bf63973b976cc52c;p=xonotic%2Fgmqcc.git don't set the request-Lvalue flag for an array index --- diff --git a/ast.c b/ast.c index bb2f5d1..cab7def 100644 --- a/ast.c +++ b/ast.c @@ -2045,7 +2045,7 @@ bool ast_array_index_codegen(ast_array_index *self, ast_function *func, bool lva } cgen = self->index->expression.codegen; - if (!(*cgen)((ast_expression*)(self->index), func, true, &iridx)) + if (!(*cgen)((ast_expression*)(self->index), func, false, &iridx)) return false; cgen = arr->getter->expression.codegen;