From: Baptiste L. <gai...@fr...> - 2002-11-23 12:28:01
|
I've added a wiki page that give a overview of the solution I've come up with. Assignation of scope to 'parent generator statement' is already implemented and being tested (ScopeGeneratorTest). It's a lot less complex than I though It would be, but that's for the better. The trickiest part will probably be the local scope identifier resolution. I'd like if you could double check the list of 'scope generator' statement. I've found: if ( <scopeA ) <scopeB/> else <scopeC/> </scopeA> while ( <scopeA ) <scopeB/> </scopeA> for ( <scopeA; ... ;... ) <scopeB/> </scopeA> switch ( <scopeA ) <scopeB/> </scopeA> { <scopeA/> } { int x =3,<scopeX> y=2<scopeY>; .... </scopeY></scopeX> } Can you think of any other one ? (outside of enum, class and struct which are not supported at the current time). Baptiste. --- Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/ |