Re: [Pyparsing] Is a ternary operator possible?
Brought to you by:
ptmcg
From: Gre7g L. <haf...@ya...> - 2008-03-07 23:46:17
|
--- Paul McGuire <pa...@al...> wrote: > Greg - > > I'll give this some thought, get back to you in the > next day or so. > > In the meantime, look at operatorPrecedence and see > what you think could be > done to have it accept a ternary operator > definition. Well, you could do something like: http://pastie.textmate.org/163086 Seems to work for me, but I haven't tested it extensively. Gre7g __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |