lua-users home
lua-l archive

Re: about the next version

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


Roberto Ierusalimschy wrote:
>
> if you want good check, you need a way to prevent implicit
> (default) declarations, no matter whether they are global or local.
One day I was thinking about writing a power patch that implements some
kind of "poor mans global declaration":
 "The parser only accepts an identifier as a global if it is preceeded
 by some special symbol (i.e '@')."
Pretty ugly but would catch all those "mistyped local" bugs ;-)
Ciao, ET

AltStyle によって変換されたページ (->オリジナル) /