diff options
Diffstat (limited to 'lobject.c')
-rw-r--r-- | lobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |