Could they be discarded into some bucket with position and length associated and than I can access that bucket and deal with it ? :) ZA
On Thursday, January 8, 2015 12:52:10 AM UTC-5, Durand Jean-Damien wrote: > Zeev, > > Comments is an orthogonal rule, that have no place in the BNF except in > the discarded thing, and per def discarded things are not part of the final > AST. > In conclusion, this is not supported. > > Regards, Jean-Damien. > > Le jeudi 8 janvier 2015 04:11:32 UTC+1, Zeev Atlas a écrit : >> >> I had a chance to feed some SQL statements of varied complexity to >> MarpaX::Languages::SQL2003::AST. I do not yet look into error capturing, >> so all the SQL statements that I use are absolutely valid. My current task >> is to review and understand the produced XML. >> I've noticed that while the parser recognizes comments as such and >> correctly ignores them, it does not produce them in the XML output. Would >> it be that hard to produce a valid XML comment: >> <!-- My comment within SQL statement --> >> Or is that already a supported option? >> Thanks >> ZA >> > -- 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.
