diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-06-03 11:36:42 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-06-03 11:36:42 -0300 |
| commit | 2c68e66570206aa1496f9c76fcf2a1a0f550d692 (patch) | |
| tree | bcc6fd7939b12ef3a636d88ce0ac38da036660d8 /lstring.c | |
| parent | 7d0f41df41e9c513e7282356541b54beaf9ed20d (diff) | |
| download | lua-2c68e66570206aa1496f9c76fcf2a1a0f550d692.tar.gz lua-2c68e66570206aa1496f9c76fcf2a1a0f550d692.tar.bz2 lua-2c68e66570206aa1496f9c76fcf2a1a0f550d692.zip | |
Details
Several small changes from feedback on 5.4 alhpa rc1 (warnings,
typos in the manual, and the like)
Diffstat (limited to 'lstring.c')
| -rw-r--r-- | lstring.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -121,8 +121,8 @@ void luaS_clearcache (global_State *g) { | |||
| 121 | int i, j; | 121 | int i, j; |
| 122 | for (i = 0; i < STRCACHE_N; i++) | 122 | for (i = 0; i < STRCACHE_N; i++) |
| 123 | for (j = 0; j < STRCACHE_M; j++) { | 123 | for (j = 0; j < STRCACHE_M; j++) { |
| 124 | if (iswhite(g->strcache[i][j])) /* will entry be collected? */ | 124 | if (iswhite(g->strcache[i][j])) /* will entry be collected? */ |
| 125 | g->strcache[i][j] = g->memerrmsg; /* replace it with something fixed */ | 125 | g->strcache[i][j] = g->memerrmsg; /* replace it with something fixed */ |
| 126 | } | 126 | } |
| 127 | } | 127 | } |
| 128 | 128 | ||
