Re: Roughed in Proto2 Parser

Dan Bloomquist <[email protected]> Wed, 31 Oct 2018 12:46:35 -0700
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Michael Powell wrote:
> I put the rules in up front; probably ambitious on my part, and am
> finding an error on:
>
> _range %= _int_lit >> -(lit("to") >> (_int_lit | lit("max"));
>
> Severity Code Description Project File Line Suppression State
> Error C1075 '{': no matching token found

Hi Michael,
Forest through the trees? It is what it says. The line should be:

_range %= _int_lit >> -(lit("to") >> (_int_lit | lit("max")));
                                                             ^ put a prin here

It compiles without errors or warnings then.
Best, Dan.