summaryrefslogtreecommitdiff
path: root/src/lua51/lundump.c
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-09-27 20:31:53 +0800
committerchai <chaifix@163.com>2020-09-27 20:31:53 +0800
commit63cb4fbbb961da133c68865845eaf22d9b876700 (patch)
tree42be163db598df2cf1c11d329c3e5843db4faa0c /src/lua51/lundump.c
parent2dfa15a926f06137f2ba6afcce2e3c1d23300100 (diff)
*misc
Diffstat (limited to 'src/lua51/lundump.c')
-rw-r--r--src/lua51/lundump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua51/lundump.c b/src/lua51/lundump.c
index 564f218..5299f55 100644
--- a/src/lua51/lundump.c
+++ b/src/lua51/lundump.c
@@ -108,7 +108,7 @@ static void LoadConstants(LoadState* S, Proto* f)
for (i=0; i<n; i++)
{
TValue* o=&f->k[i];
- int t=LoadChar(S);
+ int t=LoadChar(S); //c 用一个字节标识类型
switch (t)
{
case LUA_TNIL: