accessing struct data members

ZBay:
Thanks guys that seemed to be the solution, for some reason it didn't like the nested sturct. Got that portion running now so I'm guessing there will be further questions at a later point.
Thanks Again
ZBay

Well, if this sketch compiles then I don't know as much about C as I thought I did, because this syntax:

packit.accel.x = {lsm.accelData.x;
                  lsm.accelData.y;
                  lsm.accelData.z;
                 };

I don't know how it gets parsed. Is this treated as a lambda or something?