diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-23 17:29:04 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-23 17:29:04 -0200 |
commit | 599f1742c628db70ef84794b3b8b25fdef9e5004 (patch) | |
tree | 6221729270cb636861de393484c048b955a72726 /lapi.c | |
parent | 73abfde2ef16223b12cf04800f6e53bfc68ad356 (diff) | |
download | lua-599f1742c628db70ef84794b3b8b25fdef9e5004.tar.gz lua-599f1742c628db70ef84794b3b8b25fdef9e5004.tar.bz2 lua-599f1742c628db70ef84794b3b8b25fdef9e5004.zip |
detail (typo in comments)
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.273 2017/11/02 11:28:56 roberto Exp $ | 2 | ** $Id: lapi.c,v 2.276 2017/11/07 13:25:26 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -205,7 +205,7 @@ LUA_API void lua_settop (lua_State *L, int idx) { | |||
205 | ** Reverse the stack segment from 'from' to 'to' | 205 | ** Reverse the stack segment from 'from' to 'to' |
206 | ** (auxiliary to 'lua_rotate') | 206 | ** (auxiliary to 'lua_rotate') |
207 | ** Note that we move(copy) only the value inside the stack. | 207 | ** Note that we move(copy) only the value inside the stack. |
208 | ** (We do not move addicional fields that may exist.) | 208 | ** (We do not move additional fields that may exist.) |
209 | */ | 209 | */ |
210 | static void reverse (lua_State *L, StkId from, StkId to) { | 210 | static void reverse (lua_State *L, StkId from, StkId to) { |
211 | for (; from < to; from++, to--) { | 211 | for (; from < to; from++, to--) { |