lua-users home
lua-l archive

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


https://github.com/lua/lua/blob/master/llex.c#L476
On Oct 2, 2023 at 12:25 +0300, Claudio Grondi <claudio.grondi@freenet.de>, wrote:

Lua provides support for multi-line string literals invoked by `[[` and
finalized with `]]` and for multi-line comments invoked with `--[[`,
`--[=[`, ...

I have searched Lua C-code for `--[[`, `--[=` and `[[` but failed to
find this patterns which I would like to replace for custom purposes
with another ones.

Any hints towards where to look and what to change?