Re: [Spirit Development][Karma] statement [_0 = _val] is broken in trunk
"Hartmut Kaiser" <[email protected]> Wed, 5 Jan 2011 21:28:41 -0600
| Newsgroups | gmane.comp.parsers.spirit.devel |
|---|---|
| Message-ID | <[email protected]> |
Robert, > The problem seems to be isolated to the _0 placeholder. It seems actually to be a problem in Phoenix. Joel? > A simple > workaround is to change [_0 = _val] to [_1 = at_c<0>(_val),_2 = > at_c<1>(_val),...] It's a bit more work, especially for large tuples, but > is better than having a broken rule. > > Just remember to include #include > <boost/spirit/home/phoenix/statement/sequence.hpp> if you use the comma > operator. Sure, this will always work too. Regards Hartmut --------------- http://boost-spirit.com ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl