diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-12-27 10:48:23 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-12-27 10:48:23 -0300 |
commit | d71a548685eb3ac5ea598d6a9e7481389c558808 (patch) | |
tree | 9460748c6be7555e91b43622879b80f85258fe37 | |
parent | cee1ebe3373d1ed9c87182edef49bd866126cceb (diff) | |
download | lua-d71a548685eb3ac5ea598d6a9e7481389c558808.tar.gz lua-d71a548685eb3ac5ea598d6a9e7481389c558808.tar.bz2 lua-d71a548685eb3ac5ea598d6a9e7481389c558808.zip |
Fixed typos in comments
-rw-r--r-- | lcode.c | 2 | ||||
-rw-r--r-- | lobject.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1061,7 +1061,7 @@ static void codecomp (FuncState *fs, BinOpr opr, expdesc *e1, expdesc *e2) { | |||
1061 | 1061 | ||
1062 | 1062 | ||
1063 | /* | 1063 | /* |
1064 | ** Aplly prefix operation 'op' to expression 'e'. | 1064 | ** Apply prefix operation 'op' to expression 'e'. |
1065 | */ | 1065 | */ |
1066 | void luaK_prefix (FuncState *fs, UnOpr op, expdesc *e, int line) { | 1066 | void luaK_prefix (FuncState *fs, UnOpr op, expdesc *e, int line) { |
1067 | static const expdesc ef = {VKINT, {0}, NO_JUMP, NO_JUMP}; | 1067 | static const expdesc ef = {VKINT, {0}, NO_JUMP, NO_JUMP}; |
@@ -266,7 +266,7 @@ static const char *l_str2dloc (const char *s, lua_Number *result, int mode) { | |||
266 | ** - 'n'/'N' means 'inf' or 'nan' (which should be rejected) | 266 | ** - 'n'/'N' means 'inf' or 'nan' (which should be rejected) |
267 | ** - '.' just optimizes the search for the common case (nothing special) | 267 | ** - '.' just optimizes the search for the common case (nothing special) |
268 | ** This function accepts both the current locale or a dot as the radix | 268 | ** This function accepts both the current locale or a dot as the radix |
269 | ** mark. If the convertion fails, it may mean number has a dot but | 269 | ** mark. If the conversion fails, it may mean number has a dot but |
270 | ** locale accepts something else. In that case, the code copies 's' | 270 | ** locale accepts something else. In that case, the code copies 's' |
271 | ** to a buffer (because 's' is read-only), changes the dot to the | 271 | ** to a buffer (because 's' is read-only), changes the dot to the |
272 | ** current locale radix mark, and tries to convert again. | 272 | ** current locale radix mark, and tries to convert again. |