[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    RE: Declaring t:f style functions in other functions
From:       "Vincent PENQUERC'H" <vpenquerch () cr2a-di ! fr>
Date:       1999-10-21 7:37:43
Message-ID: 616ABE867643D311A6D800609790405D0377F1 () mougins ! sophia ! cr2a-di ! fr
[Download RAW message or body]

>      if (ls->fs->prev)  /* inside other function? */
>        return 0;
>
>in function "stat" (lparser.c:762). That is, we explicitly forbid this

OK

[...]

>Because of that, we decided to forbid this syntax. We are not 
>sure about
>this decision, but it is always better to add it later than to remove
>it later.

One of the classics tradeoffs about computer programs ;)
Thanks for your help!

--vp

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic