Re: skipper does not work
Jens Kallup <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
Am 19.10.2016 um 14:29 schrieb Seth:
>
> Here's your new code, integrated with the minimum fix for the skipper:
> http://coliru.stacked-crooked.com/a/5c53f81291c92a67
>
> Relevant tests:
>
> int main() {
> for (std::string const s : {
> //"Hello",
> "Hello && comment\r\nWorld",
> "Hello ** comment\r\nWorld",
> "Hello // comment\r\nWorld",
> "Hello // /* block */World",
> }) {
> parseText(s);
> }
> }
>
> Output:
>
> Parsing SUCCESS.
> Parsing SUCCESS.
> Parsing SUCCESS.
> Parsing SUCCESS
>
Yes, it will work, like the version on my side.
But when i have only have comments in buffer/file stream,
the skipper fails and I get error.
Jens
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot