On 10/25/2010 5:44 PM, Eric Niebler wrote:
>     struct my_grammar
>       : proto::or_<
>             proto::when< int_terminal, proto::external >
>           , proto::when< char_terminal, proto::external >
>           , proto::when<
>                 proto::plus< my_grammar, my_grammar >
>               , proto::fold< _, int(), my_grammar >
>             >
>         >
>     {};
> 
>     struct my_actions
>       : proto::action_map<
>             proto::when<int_terminal, print(proto::_value)>
>           , proto::when<char_terminal, print(proto::_value)>
>         >
>     {};

s/proto::external/proto::external_transform/
s/proto::action_map/proto::external_transforms/

There, that's better. I don't think I'll mess with it any more. Go ahead
and use it, Thomas.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com
_______________________________________________
proto mailing list
proto@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/proto

Reply via email to