aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-23 17:29:04 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-23 17:29:04 -0200
commit599f1742c628db70ef84794b3b8b25fdef9e5004 (patch)
tree6221729270cb636861de393484c048b955a72726 /lapi.c
parent73abfde2ef16223b12cf04800f6e53bfc68ad356 (diff)
downloadlua-599f1742c628db70ef84794b3b8b25fdef9e5004.tar.gz
lua-599f1742c628db70ef84794b3b8b25fdef9e5004.tar.bz2
lua-599f1742c628db70ef84794b3b8b25fdef9e5004.zip
detail (typo in comments)
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 1c1e8f9e..181c90d6 100644
--- a/lapi.c
+++ b/lapi.c
@@ -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*/
210static void reverse (lua_State *L, StkId from, StkId to) { 210static void reverse (lua_State *L, StkId from, StkId to) {
211 for (; from < to; from++, to--) { 211 for (; from < to; from++, to--) {