ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <jalbe...@cellectivity.com>
Subject RE: local properties
Date Wed, 20 Oct 2004 16:37:57 GMT
> From: Peter Reilly [mailto:peterreilly@apache.org] 
> 
>  From the point of view of most languages, there is a flat 
> namespace. For example in "C" one can do
> 
> int a;
> 
> void proc(void) {
>    int a;
>    a = 1;
> }
> 
> Peter
> 

Sorry, but you are mistaken here. The "a" being assigned is different
from the
global one. So, it is not flat. Each identifier is actually represented
by a location relative to a frame or environment.

That is not the case in ANT. Or more clearly everything inside a project
is on the same frame/environment. 

Now if this was Fortran-62, you do not declare 'a' so any usage or
assignment
will refer the the only one location for 'a' in the compilation module.
THAT is how ANT works today. 

Jose Alberto

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message