13
0

Fix Lua doc formatting (reserved words)

This commit is contained in:
Robin Gareus 2021-07-02 03:11:26 +02:00
parent b6daff81ec
commit 5f5a577e08
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -548,8 +548,8 @@ function ctorname ($name) {
function luaname ($name) {
# reserved Lua words
$name = preg_replace ('/:end/', ':_end', $name);
$name = preg_replace ('/:type/', ':_type', $name);
$name = preg_replace ('/:end$/', ':_end', $name);
$name = preg_replace ('/:type$/', ':_type', $name);
return $name;
}