From 90ff154598999c51579eb70cd1d6f53f05c116f1 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 28 Jan 2015 17:30:59 -0800 Subject: [PATCH] Fix chained field expressions losing lvalue-ness. (bug 6298) --- sourcepawn/compiler/sc3.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sourcepawn/compiler/sc3.cpp b/sourcepawn/compiler/sc3.cpp index d247978e..2cba29c8 100644 --- a/sourcepawn/compiler/sc3.cpp +++ b/sourcepawn/compiler/sc3.cpp @@ -2334,6 +2334,7 @@ restart: implicitthis = &thisval; break; case FER_Accessor: + lvalue = TRUE; goto restart; default: assert(false);