aboutsummaryrefslogtreecommitdiff
path: root/src/lj_lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_lex.h')
-rw-r--r--src/lj_lex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lj_lex.h b/src/lj_lex.h
index 8665aa2a..e1b5610b 100644
--- a/src/lj_lex.h
+++ b/src/lj_lex.h
@@ -84,4 +84,10 @@ LJ_FUNC const char *lj_lex_token2str(LexState *ls, LexToken tok);
84LJ_FUNC_NORET void lj_lex_error(LexState *ls, LexToken tok, ErrMsg em, ...); 84LJ_FUNC_NORET void lj_lex_error(LexState *ls, LexToken tok, ErrMsg em, ...);
85LJ_FUNC void lj_lex_init(lua_State *L); 85LJ_FUNC void lj_lex_init(lua_State *L);
86 86
87#ifdef LUA_USE_ASSERT
88#define lj_assertLS(c, ...) (lj_assertG_(G(ls->L), (c), __VA_ARGS__))
89#else
90#define lj_assertLS(c, ...) ((void)ls)
91#endif
92
87#endif 93#endif