changeset 13926:714695c910c7

util.serialization: Add the Lua 5.5 'global' keyword Ensures it's still escaped in the unquoted mode.
author Kim Alvefur <zash@zash.se>
date Tue, 01 Jul 2025 23:22:37 +0200
parents a4c47203a9eb
children a88566e73a15
files util/serialization.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/serialization.lua	Fri Feb 23 18:44:13 2024 +0100
+++ b/util/serialization.lua	Tue Jul 01 23:22:37 2025 +0200
@@ -62,6 +62,7 @@
 	["or"] = true; ["nil"] = true; ["true"] = true; ["until"] = true;
 	["elseif"] = true; ["function"] = true; ["not"] = true;
 	["repeat"] = true; ["return"] = true; ["while"] = true;
+	["global"] = true;
 };
 
 local function new(opt)