hslua-core: remove support for Lua 5.3
Support was buggy, it seems better to go all-in on Lua 5.4.
@@ -204,9 +204,6 @@ data Status
| ErrSyntax -- ^ syntax error during precompilation
| ErrMem -- ^ memory allocation (out-of-memory) error.
| ErrErr -- ^ error while running the message handler.
-#if !MIN_VERSION_lua(2,2,0)
- | ErrGcmm -- ^ error while running a @__gc@ metamethod.
-#endif
| ErrFile -- ^ opening or reading a file failed.
deriving (Eq, Show)
@@ -218,9 +215,6 @@ toStatus = \case
LUA_ERRRUN -> ErrRun
LUA_ERRSYNTAX -> ErrSyntax
LUA_ERRMEM -> ErrMem
-#if !MIN_VERSION_lua(2,2,0)
- LUA_ERRGCMM -> ErrGcmm
-#endif
LUA_ERRERR -> ErrErr
LUA_ERRFILE -> ErrFile
StatusCode n -> error $ "Cannot convert (" ++ show n ++ ") to Status"
