Boost logo

Boost Users :

Subject: Re: [Boost-users] [Spirit] Semantic actions (binary parser) - user error or bug?
From: Vitaly Budovski (vbudovski+news_at_[hidden])
Date: 2011-05-01 03:08:55

> 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.


What's wrong with the following code, and how can I fix it? The
semantic actions seem to be inconsistent (or maybe I'm using them
No omit, but no value?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at