From bc798a7e01b4de0ee3ed8dd0fd9d7b54afc588b7 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 4 Feb 2024 11:44:29 +0100 Subject: [PATCH] bug fix - https://github.com/lua/lua/commit/ce74637ace147d147578a95c435cf7cafec590b8 --- client/deps/liblua/llex.c | 4 ++-- client/deps/liblua/lua.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/deps/liblua/llex.c b/client/deps/liblua/llex.c index 8d6c012d3..bc09ea4dd 100644 --- a/client/deps/liblua/llex.c +++ b/client/deps/liblua/llex.c @@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 2.63 2013/03/16 21:10:18 roberto Exp $ +** $Id: llex.c,v 2.63.1.2 2013/08/30 15:49:41 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -150,7 +150,7 @@ static void inclinenumber(LexState *ls) { if (currIsNewline(ls) && ls->current != old) next(ls); /* skip `\n\r' or `\r\n' */ if (++ls->linenumber >= MAX_INT) - luaX_syntaxerror(ls, "chunk has too many lines"); + lexerror(ls, "chunk has too many lines", 0); } diff --git a/client/deps/liblua/lua.h b/client/deps/liblua/lua.h index 7ea82c57a..1c32d0bf5 100644 --- a/client/deps/liblua/lua.h +++ b/client/deps/liblua/lua.h @@ -19,7 +19,7 @@ #define LUA_VERSION_MAJOR "5" #define LUA_VERSION_MINOR "2" #define LUA_VERSION_NUM 502 -#define LUA_VERSION_RELEASE "3" +#define LUA_VERSION_RELEASE "4" #define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR #define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE