lua-users home
lua-l archive

Re: The Lua lexer - what am I missing?

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


Matt Holmes wrote:
>
> why would LS->current ever be an underscore? I know I for one do not write
> an underscore before every keyword or identifier name. Have I utterly missed
> something here?
The "case '_':" just handles identifiers that _start_ with an underscore.
All other identifiers and keywords are handle by the "default:" case that
falls through to the "tname" label.
Ciao, ET.

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