diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-05 15:03:15 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-05 15:03:15 -0300 |
| commit | e888976bc6ba5592fb8ab8ecc04a8f63e217aa74 (patch) | |
| tree | ae0a03f16d413e6a901c6a5f64058264974672fb /lauxlib.c | |
| parent | 4d46289331395a845c5de1f6c0e0fe873c50db4f (diff) | |
| download | lua-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.tar.gz lua-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.tar.bz2 lua-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.zip | |
Details (typos in comments)
Diffstat (limited to 'lauxlib.c')
| -rw-r--r-- | lauxlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | } |
