
[Please do not mail me a copy of your followup] boost-users@lists.boost.org spake the secret code <BANLkTim318tansq+XADU8ZJ1CMa0pWMdhw@mail.gmail.com> thusly:
I've come across some behaviour with semantic actions that seems strange. I'm not sure if this is intended or if it is indeed a bug.
Seems perfectly normal to me. You need omit[] around stuff that you don't want to appear as part of the attribute for a rule. Since your rule's attribute is only a byte, including big_dword as part of the rule without omit would mean that its part of the attribute for the rule too and that doesn't match the layout of the test struct. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/> Legalize Adulthood! <http://legalizeadulthood.wordpress.com>