On Tue, 2006-07-18 at 17:05 +1000, skaller wrote:
> On Mon, 2006-07-17 at 17:22 -0700, Erick Tryzelaar wrote:

> Try this .. noting the STILL ugly failure to properly
> detect the last iteration.
> 
> #import <flx.flxh>
> #keyword initially
> #keyword always
> #keyword finally
> #keyword otherwise
> #statement#
>   whilst expr do           // 1
>     initially statements   // 4
>     always statements      // 6
>     finally statements     // 8
>     otherwise statements   // 10
>   done ; =>#
>   macro {
>     macro labend is new;
>     macro labloop is new;
>     macro labother is new;

Oops .. need:

     macro labfinal is new;

here .. otherwise the construction won't nest.


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to