diff options
Diffstat (limited to 'lobject.c')
-rw-r--r-- | lobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.c,v 2.119 2017/11/08 14:50:23 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 2.120 2017/11/16 13:19:06 roberto Exp roberto $ |
3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -272,7 +272,7 @@ static const char *l_str2dloc (const char *s, lua_Number *result, int mode) { | |||
272 | ** - 'n'/'N' means 'inf' or 'nan' (which should be rejected) | 272 | ** - 'n'/'N' means 'inf' or 'nan' (which should be rejected) |
273 | ** - '.' just optimizes the search for the common case (nothing special) | 273 | ** - '.' just optimizes the search for the common case (nothing special) |
274 | ** This function accepts both the current locale or a dot as the radix | 274 | ** This function accepts both the current locale or a dot as the radix |
275 | ** mark. If the convertion fails, it may mean number has a dot but | 275 | ** mark. If the conversion fails, it may mean number has a dot but |
276 | ** locale accepts something else. In that case, the code copies 's' | 276 | ** locale accepts something else. In that case, the code copies 's' |
277 | ** to a buffer (because 's' is read-only), changes the dot to the | 277 | ** to a buffer (because 's' is read-only), changes the dot to the |
278 | ** current locale radix mark, and tries to convert again. | 278 | ** current locale radix mark, and tries to convert again. |