Minor documentation inconsistency

56 views
Skip to first unread message

Martin Eden

unread,
Feb 5, 2026, 7:57:13 PM (5 days ago) Feb 5
to lu...@googlegroups.com
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

Roberto Ierusalimschy

unread,
Feb 7, 2026, 12:49:17 PM (4 days ago) Feb 7
to 'Martin Eden' via lua-l
> Looks like "global" declaration statement is put incomplete in
> EBNF syntax section:
>
>   https://lua.org/manual/5.5/manual.html#9
>
>   [...]

Many thanks for the feedback.

-- Roberto
Reply all
Reply to author
Forward
0 new messages