Fix Lua doc formatting (reserved words)
This commit is contained in:
parent
b6daff81ec
commit
5f5a577e08
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user