diff options
author | Li Jin <dragon-fly@qq.com> | 2020-10-22 16:02:39 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2020-10-22 16:02:39 +0800 |
commit | a51a728d847e790329e41c75928a81630200b63f (patch) | |
tree | 8cc8e93a7863649499537366acecb41525022a57 /src/lua/llex.c | |
parent | f6e603cc5bef133e5e368a81f677bea92bc405b5 (diff) | |
download | yuescript-a51a728d847e790329e41c75928a81630200b63f.tar.gz yuescript-a51a728d847e790329e41c75928a81630200b63f.tar.bz2 yuescript-a51a728d847e790329e41c75928a81630200b63f.zip |
update Lua, fix cmakelists.txt.
Diffstat (limited to 'src/lua/llex.c')
-rw-r--r-- | src/lua/llex.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lua/llex.c b/src/lua/llex.c index 90a7951..3d6b2b9 100644 --- a/src/lua/llex.c +++ b/src/lua/llex.c | |||
@@ -81,7 +81,6 @@ void luaX_init (lua_State *L) { | |||
81 | 81 | ||
82 | const char *luaX_token2str (LexState *ls, int token) { | 82 | const char *luaX_token2str (LexState *ls, int token) { |
83 | if (token < FIRST_RESERVED) { /* single-byte symbols? */ | 83 | if (token < FIRST_RESERVED) { /* single-byte symbols? */ |
84 | lua_assert(token == cast_uchar(token)); | ||
85 | if (lisprint(token)) | 84 | if (lisprint(token)) |
86 | return luaO_pushfstring(ls->L, "'%c'", token); | 85 | return luaO_pushfstring(ls->L, "'%c'", token); |
87 | else /* control character */ | 86 | else /* control character */ |