diff options
author | Lua Team <team@lua.org> | 2015-06-03 12:00:00 +0000 |
---|---|---|
committer | repogen <> | 2015-06-03 12:00:00 +0000 |
commit | 6ddf2b3ca86471f90439976967c9e608582f0d0b (patch) | |
tree | 7fa563fe4062fcea38b86adfe8a26ac413f0d97b /src/luac.c | |
parent | 34c362812ab38172d3da36404ec9a85f929579c5 (diff) | |
download | lua-github-5.3.1-rc1.tar.gz |
Lua 5.3.1-rc15.3.1-rc1
Diffstat (limited to 'src/luac.c')
-rw-r--r-- | src/luac.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* -** $Id: luac.c,v 1.72 2015/01/06 03:09:13 lhf Exp $ +** $Id: luac.c,v 1.75 2015/03/12 01:58:27 lhf Exp $ ** Lua compiler (saves bytecodes to files; also lists bytecodes) ** See Copyright Notice in lua.h */ @@ -206,7 +206,7 @@ int main(int argc, char* argv[]) } /* -** $Id: print.c,v 1.76 2015/01/05 16:12:50 lhf Exp $ +** $Id: luac.c,v 1.75 2015/03/12 01:58:27 lhf Exp $ ** print bytecodes ** See Copyright Notice in lua.h */ @@ -226,7 +226,7 @@ int main(int argc, char* argv[]) static void PrintString(const TString* ts) { const char* s=getstr(ts); - size_t i,n=ts->len; + size_t i,n=tsslen(ts); printf("%c",'"'); for (i=0; i<n; i++) { |