From 72bb97e211f21eec9728a2b646c05f9ec9c82f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= <34514239+appgurueu@users.noreply.github.com> Date: Sun, 2 Jan 2022 12:58:36 +0100 Subject: [PATCH] Clarify hex escape handling in PUC Lua --- doc/environment.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/environment.adoc b/doc/environment.adoc index 7828045..73f3890 100644 --- a/doc/environment.adoc +++ b/doc/environment.adoc @@ -131,7 +131,7 @@ Returns nothing. == LuaJIT extensions -Minetest builds compiled with LuaJIT (`ENABLE_LUAJIT=1`) provide the https://luajit.org/extensions.html[LuaJIT extensions]. These include syntactical Lua 5.2 language features like `goto`, which will lead to a syntax error on PUC Lua 5.1. Hex escapes will be converted into the raw characters by PUC Lua 5.1. +Minetest builds compiled with LuaJIT (`ENABLE_LUAJIT=1`) provide the https://luajit.org/extensions.html[LuaJIT extensions]. These include syntactical Lua 5.2 language features like `goto`, which will lead to a syntax error on PUC Lua 5.1. Hex escapes will be converted into the raw characters by PUC Lua 5.1 (Example: `"\xFF"` which is the same as `"\255" on LuaJIT will be `"xFF"` on PUC Lua 5.1). == Common extensions