On 9/8/05, Larry Wall <[EMAIL PROTECTED]> wrote:
> It seems to me you need a stack of levels so you know how many
> indentation levels to pop off.  Otherwise you can't parse this:
> 
>         if foo1
>                 bar1
>                 if foo2
>                         bar2
>                         if foo3
>                                 bar3
>                 else
>                         baz2

Sure you can. Since each item on the stack would just mean "add
another indentation level", you could use the same pop-triggering
logic to decrement a simple counter.

Collin

Reply via email to