lua-users home
lua-l archive

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


ramsdell@linus.mitre.org (John D. Ramsdell) writes:

...

> The latest version of lsc.y reflects the grammar above.  This program
> seems to accept the same languages as does the 4.1 alpha parser, so
> the grammar should be accurate, well, except for typos and things.

Well, typos and things did creep in.  The production 

key     --> name | AND | BREAK | DO | END | ELSE | ELSEIF
         | FOR | FUNCTION | GLOBAL | IF | IN | LOCAL | NIL
         | NOT | OR | RETURN | REPEAT | THEN | UNTIL | WHILE

should be replaced by 

key     --> name

for compatibility with the 4.1 alpha parser.

John