aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-05 15:03:15 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-05 15:03:15 -0300
commite888976bc6ba5592fb8ab8ecc04a8f63e217aa74 (patch)
treeae0a03f16d413e6a901c6a5f64058264974672fb /lauxlib.c
parent4d46289331395a845c5de1f6c0e0fe873c50db4f (diff)
downloadlua-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.tar.gz
lua-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.tar.bz2
lua-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.zip
Details (typos in comments)
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lauxlib.c b/lauxlib.c
index d49ef573..e3a7a577 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -62,7 +62,7 @@ static int findfield (lua_State *L, int objidx, int level) {
62 else if (findfield(L, objidx, level - 1)) { /* try recursively */ 62 else if (findfield(L, objidx, level - 1)) { /* try recursively */
63 /* stack: lib_name, lib_table, field_name (top) */ 63 /* stack: lib_name, lib_table, field_name (top) */
64 lua_pushliteral(L, "."); /* place '.' between the two names */ 64 lua_pushliteral(L, "."); /* place '.' between the two names */
65 lua_replace(L, -3); /* (in the slot ocupied by table) */ 65 lua_replace(L, -3); /* (in the slot occupied by table) */
66 lua_concat(L, 3); /* lib_name.field_name */ 66 lua_concat(L, 3); /* lib_name.field_name */
67 return 1; 67 return 1;
68 } 68 }