This mean I'll can (a dream I had in the past!) get rid of an infamous hiden routine in MarpaX::Languages::C::AST: _doPreprocessing() <https://github.com/jddurand/MarpaX-Languages-C-AST/blob/master/lib/MarpaX/Languages/C/AST.pm#L500> !
This routine exists because I needed to catch the #line preprocessor information before the parser discard it... you see the point : there was valuable information in something that is orthogonal to the grammar, and that only :discard could catch. An excellent timing since I planned to go back to this module soon. Will keep you informed. Thanks / JD. Le lundi 23 février 2015 02:28:47 UTC+1, Jeffrey Kegler a écrit : > > I have uploaded Marpa-R2 2.103_008 to CPAN. It contains the discard > events, this time *with* documentation. For the documentation coverage of > discard events, start here > <https://metacpan.org/pod/release/JKEGL/Marpa-R2-2.103_008/pod/Scanless/DSL.pod#Discard-pseudo-rule>, > > here > <https://metacpan.org/pod/release/JKEGL/Marpa-R2-2.103_008/pod/Scanless/DSL.pod#Discard-default-statement> > > and here > <https://metacpan.org/pod/release/JKEGL/Marpa-R2-2.103_008/pod/Event.pod#Discard-events> > . > > This might be a release candidate, but I may want to wait for the work on > Libmarpa nits to finish, I'm not sure. Anyway, now you really can get > started with discard events -- they should be 100% ready with this release. > > And testing is appreciated! > -- You received this message because you are subscribed to the Google Groups "marpa parser" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
