Closed masatake closed 2 months ago
Thanks for the detailed report @masatake.
Should I turn
unused-capture
optimization off?
Yes, you can try to identify the problematic optimization and turn it off, as a temporary workaround.
Thank you. All peg-based parsers are built well with -O all -X unused-capture. I will keep this one open.
Should be fixed now, there was a stupid problem with the regexp that makes the check, so it didn't work correctly for multiline actions.
I'm integrating pegof with the build system of Universal Ctags (https://github.com/universal-ctags/ctags/pull/4026).
During the integration, I found a bug of pegof.
I compared varlink.peg (the input for pegof) and varlink.pego (the output of pegof):
.peg
.pego
pegof removes
<
and>
. So$1
lost the sense. Should I turnunused-capture
optimization off?