diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-10-16 13:04:28 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-10-16 13:04:28 +0000 |
commit | 2a40e13a7afd87b1618335378c99577e73db3eb1 (patch) | |
tree | 56644c42d2166358369370d330bdacfea53b0cd4 /src/lobject.c | |
parent | abe858c1d6e8bf7d7206b09ed715677ac63b5fca (diff) |
Notes
Diffstat (limited to 'src/lobject.c')
-rw-r--r-- | src/lobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lobject.c b/src/lobject.c index 2218c8cdd771..355bf58d6372 100644 --- a/src/lobject.c +++ b/src/lobject.c @@ -266,7 +266,7 @@ static const char *l_str2dloc (const char *s, lua_Number *result, int mode) { ** - 'n'/'N' means 'inf' or 'nan' (which should be rejected) ** - '.' just optimizes the search for the common case (nothing special) ** This function accepts both the current locale or a dot as the radix -** mark. If the convertion fails, it may mean number has a dot but +** mark. If the conversion fails, it may mean number has a dot but ** locale accepts something else. In that case, the code copies 's' ** to a buffer (because 's' is read-only), changes the dot to the ** current locale radix mark, and tries to convert again. |