lua-users home
lua-l archive

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

Another source of surpirses is the block-commment vs nested table indexing:


errors until you put a space between ] and ] in the commented code.


On 11/2/21 5:28 AM, Egor Skriptunoff wrote:
On Mon, Nov 1, 2021 at 8:48 PM Alex Light wrote:
Lua fails to parse code such as '0.."foo"'

The Lua team tries to keep the Lua source files compact.
So, the Lua parser is intentionally more simple than it should be.