lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Why 'while' and 'repeat' loop need double block
From
: 原林 <yuanlin2008@
...
>
Date
: Wed, 9 Jan 2013 13:29:03 +0800
Hi
When parsing 'while' and 'repeat' statement, lua uses double block to
encapsulate the inner statement(one for 'loop').
I think that these blocks are used to control the same scope.
Could anyone can tell me why we must use double block here?
Follow-Ups
:
Re: Why 'while' and 'repeat' loop need double block
,
Roberto Ierusalimschy
Prev by Date:
Re: [ANN] Hash Table Shootout 2: Rise of the Interpreter Machines
Next by Date:
Re: full gc triggered incorrectly in generational GC
Previous by thread:
Re: [ANN] Hash Table Shootout 2: Rise of the Interpreter Machines
Next by thread:
Re: Why 'while' and 'repeat' loop need double block
Index(es):
Date
Thread