Re: cant parse "val = 2 * * 2"
Larry Evans <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On 08/24/2016 04:41 AM, Jens Kallup wrote: > Hello, > > I try out to compile the extend version of yesterday (Larry) > But I fail: > > My goal is to produce a user information (error/warning), when the > following string > is parsed: > > "val = 2 * * 2" > > tok.my_mul equals '*' in the lexer > > The correct form is: > "val = 2 * 2" > > Then next problem is in line 5. > It differs from "bool", but how to "throw MyException" ? > > Thanks for helping > Jens Again, it would help up help you if you followed the guidelines Joel mentioned here: https://sourceforge.net/p/spirit/mailman/spirit-general/thread/npdbg4%24a6o%241%40blaine.gmane.org/#msg35292928 Please also supply some kind of Makefile so it's obvious what compiler and flags you've used. -regards, Larry [snip] ------------------------------------------------------------------------------