diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-10-23 10:31:02 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-10-23 10:31:02 -0300 |
commit | 6e285e539274920830eeec5cd2dde5eeca5863e4 (patch) | |
tree | 1d2a19d8f576441f647950aa3352dd1c1c77f02a /llex.c | |
parent | b8cdea01908f8d436e9d5a73d640645ea52d5f65 (diff) | |
download | lua-6e285e539274920830eeec5cd2dde5eeca5863e4.tar.gz lua-6e285e539274920830eeec5cd2dde5eeca5863e4.tar.bz2 lua-6e285e539274920830eeec5cd2dde5eeca5863e4.zip |
More pious implementation of 'string.dump'
In 'str__dump', the call to 'lua_dump' assumes the function is on the
top of the stack, but the manual allows 'luaL_buffinit' to push stuff
on the stack (although the current implementation does not). So, the
call to 'luaL_buffinit' must come after the call to 'lua_dump'.
Diffstat (limited to 'llex.c')
0 files changed, 0 insertions, 0 deletions