Re: [Pyparsing] (no subject)
Brought to you by:
ptmcg
From: Gre7g L. <haf...@ya...> - 2008-04-04 03:41:03
|
--- Eike Welk <eik...@gm...> wrote: > Hello Martin! > > Just recently "Gre7g Luterman" had a very similar > question. He also > proposed a kind of decent solution: Thanks, "Eike". You can find this post in the archive: http://tinyurl.com/yqpn7d And then there was a follow-up with more refined code at: http://tinyurl.com/25gacz The solution may not be ideal (since it requires that everything be parsed and instantiated), but it works and requires no hacking pyparsing.py. I am using this currently in my code. Alternatively, you'd need to hook in somewhere and track the maximum parse position and return it in the final object. Hope that helps, "Gre7g" __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |