The grammar currently rejects
color foo () { return ... }
float a = foo()[0];
I believe this is allowed in C, so it should work in OSL. But it currently
gives a syntax error, I think
because it rejects [] for non-lvalues.
Original issue reported on code.google.com by rene.lim...@gmail.com on 11 Jan 2010 at 7:09
Original issue reported on code.google.com by
rene.lim...@gmail.com
on 11 Jan 2010 at 7:09