Hello authors,
Looks like "global" declaration statement is put incomplete in
EBNF syntax section:
https://lua.org/manual/5.5/manual.html#9
stat ::=
...
global attnamelist |
...
It should be
global attnamelist ['=' explist] |
is the same manner as "local attnamelist".
Also I enjoy dedicated and comfortably dense style of this manual.
-- Martin