-
Hi there! I'm using pest for the very first time and I'm not sure if I bumped into a bug or not. So, given this grammar fragment on the latest stable version (2.7.7 with "grammar-extras"):
I'd assume that calling I've read the pest book and I couldn't find anything saying there are limitations on tags attached to rules that may yield more than a pair. Is this a bug, an undocumented limitation, or am I doing things wrong somewhere? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It looks a bit like a bug; it's due to the fact how the node tagging code is generated with the respect to the parser state changes (it's tagged just once after all those repeated expressions are consumed). I'll see if there's an easy way to fix it; if not, I agree it'll be good to document this limitation. |
Beta Was this translation helpful? Give feedback.
-
I see, thanks for looking into it. Do you want me to file a bug to keep track of the issue status? |
Beta Was this translation helpful? Give feedback.
@agatti this issue should hopefully be fixed in 2.7.8: #986 you can try if it works as expected