Final tweaks.

This commit is contained in:
Michael Lenaghan 2024-06-15 19:21:43 -04:00
parent bc027d9bc3
commit ed158ba6dc
4 changed files with 4 additions and 2 deletions

View file

@ -157,4 +157,4 @@ NOTES
The more things like that we do — the easier we can make it to
quickly and correctly read diffs — the easier we'll make it to
keep Cosmo's Lua in sync with the latest Lua.
keep Cosmo's Lua in sync with the latest Lua.

View file

@ -168,6 +168,7 @@ LUALIB_API void (luaL_requiref) (lua_State *L, const char *modname,
#if defined LUAI_ASSERT
#define lua_assert(c) assert(c)
#else
// [jart]
#define lua_assert(c) unassert(c)
#endif

View file

@ -14,6 +14,7 @@
check_exp(('A' <= (c) && (c) <= 'Z') || (c) == ((c) | ('A' ^ 'a')), \
(c) | ('A' ^ 'a'))
// [jart]
#define lisdigit(C) \
({ \
unsigned char c_ = (C); \

View file

@ -1259,7 +1259,7 @@ static int panicback (lua_State *L) {
b = (struct Aux *)lua_touserdata(L, -1);
lua_pop(L, 1); /* remove 'Aux' struct */
runC(b->L, L, b->paniccode); /* run optional panic code */
_gclongjmp(b->jb, 1); // [jart]
gclongjmp(b->jb, 1); // [jart]
return 1; /* to avoid warnings */
}