Short: Identifier clash in ->()
From: Rodney
Date: 991019
Type: Bug
State: Done - implemented in 3.2.8-dev.152
See also: f-990510

> --------------------------------<9>---------------------------------------
> The driver's parser seems to get confused when you use a variable with
> the same name as a function which you use in a call other.
> 
> For example, this code does not compile:
> 
> string short;
> 
>     return short=this_player()->short();

The problem is that "short" is lexed as L_LOCAL instead of
the L_IDENTIFIER expected by the function_call rule.

Adding L_LOCAL to the function_name rule is possible, but would
require extra handling to avoid

   string short;

   short()

A L_LOCAL handling could consist in finding the definition hidden
by the LOCAL identifier, or by amending the functino_call rules
to check the type of the identifier.
