http://www.perlmonks.org?node_id=174924


in reply to Re: Clunky parsing problem, looking for simple solution
in thread Clunky parsing problem, looking for simple solution

If it were a simple problem, I don't think I'd have posted it here. :)

For now I suppose you can ignore the truly pathological case where there's a IF-like statement within double-quotes. I'm looking for a 90% solution and if some hand-porting is necessary then so be it.

Note: I found just such a statement in my test suite. It was in a tutorial on GW-BASIC written in GW-BASIC.

  • Comment on Re: Re: Clunky parsing problem, looking for simple solution

Replies are listed 'Best First'.
Re^3: Clunky parsing problem, looking for simple solution
by orkysoft (Friar) on Jun 16, 2002 at 19:10 UTC

    I don't think an IF-statement within double quotes should be looked at at all by your parser. It's just a string, after all. It's not a statement.

    Lur: "But if this cape shrinks, consider your species extinct!"