From 8d7791f3eb1c5fc449490845254b59fdde30e9e0 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 28 May 2024 17:34:56 +0200 Subject: Handle LUA_ERRFILE --- src/compat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/compat.h') diff --git a/src/compat.h b/src/compat.h index b971a76..fb31cab 100644 --- a/src/compat.h +++ b/src/compat.h @@ -232,7 +232,8 @@ enum class LuaError ERRSYNTAX = LUA_ERRSYNTAX, ERRMEM = LUA_ERRMEM, ERRGCMM = LUA_ERRGCMM, // pre-5.4 - ERRERR = LUA_ERRERR + ERRERR = LUA_ERRERR, + ERRFILE = LUA_ERRFILE }; inline constexpr LuaError ToLuaError(int rc_) -- cgit v1.2.3-55-g6feb