Re: cant parse "val = 2 * * 2"
Jens Kallup <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Larry, please have a look to https://github.com/paule32/dBase4Linux/blob/master/source/parser/dbase/yymain.cc I have write the compile steps in g++ 5.4.0 cut all other libs. Should run, if you add the boost libs?? Then you can see the error message... Thanks for helping hand(s) Jens Am 24.08.2016 um 11:52 schrieb Larry Evans: > 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] > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Spirit-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/spirit-general ------------------------------------------------------------------------------