4 Commits
Author SHA1 Message Date
Derek Haase 4560ef5ccd Fix bug in assigning elements of struct arrays.
This kind of thing:

    struct S { float x; }
    S a[2];
    a[1] = a[0];

The generated code would not properly copy a[0].x to a[1].x.

LG is submitting this, but the patch is actually from Derek Haase.
LG confirms that it fixes the bug, doesn't break anything else, and
looks correct.
2014-11-14 16:29:17 -08:00
Larry Gritz 1b8e5a8ba1 Allow whole-array assignment: array1 = array2 2012-12-14 09:57:16 -08:00
Larry Gritz 78544bee7e Various array-of-struct and array-of-closure fixes 2011-05-13 17:00:11 -07:00
Larry Gritz d0169bdc3a Fix arrays of structs 2011-05-09 16:03:01 -07:00