lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


John Belmonte wrote:
> 
> Edgar Toernig wrote:
> 
> > It was only one word to change (an if into a while).  And I see
> > no reason why it shouldn't be like that.
> 
> Yeah I found this out myself and made a patch.  I chose to only allow
> the ':' token before the last name because it's the only way that makes
> sense to me.

Yes, for Lua a colon in the middle wouldn't make sense.  In Sol the colon
is a new operator with a special semantic in function calls and it makes
sense (a:b.c != a.b.c).

Ciao, ET.