On Tue, 24 May 2011, Francis Galiegue wrote:

> ... Which is slowly making progress.
> 
> Why, to declare a local variable, you have to declare:
> 
> local idexpression x;
> 
> and not:
> 
> local identifier x;
> 
> ?
> 
> I know that identifiers can also match function names, but what
> special meaning does idexpression have in this context?

For an idexpression you can specify a type.

Also, in general an identifier is just a name, like a string.  If might 
for example be a structure field.  A structure field has no notion of 
being local.

julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to