Fix bug that prohibited assignments with pointer expressions on the LHS

Previously, code like "*(ptr+1) = foo" would claim that the LHS was invalid
for an assignment expression.

Issue #138.
This commit is contained in:
Matt Pharr
2012-01-06 14:21:03 -08:00
parent 4f97262cf2
commit 11033e108e
6 changed files with 45 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
// Left hand side of assignment statement can't be assigned to
// Can't assign to type "const uniform int32" on left-hand side of expression
int bar(){
int x;