Opened 9 years ago

Closed 5 years ago

#8537 closed Patches (fixed)

Qi `skip` fails when nested under two or more levels of `lexeme`

Reported by: K-ballo <kaballo86@…> Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

The reskip version of the skip directive fails when nested under two or more levels of lexeme/no_skip, like:

lexeme[lexeme[skip[parser]]] // does not skip

When a skipper is provided, on the other hand, it works correctly:

lexeme[lexeme[skip(skipper)[parser]]] // skips

Attachments (1)

spirit.qi.skip.patch (6.7 KB ) - added by K-ballo <kaballo86@…> 9 years ago.
Tentative fix patch

Download all attachments as: .zip

Change History (4)

by K-ballo <kaballo86@…>, 9 years ago

Attachment: spirit.qi.skip.patch added

Tentative fix patch

comment:1 by Joel de Guzman, 9 years ago

K-ballo, could you please send in a pull request?

comment:2 by Agustín K-ballo Bergé <kaballo86@…>, 8 years ago

comment:3 by Joel de Guzman, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.