aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-23 17:29:04 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-23 17:29:04 -0200
commit599f1742c628db70ef84794b3b8b25fdef9e5004 (patch)
tree6221729270cb636861de393484c048b955a72726 /lobject.c
parent73abfde2ef16223b12cf04800f6e53bfc68ad356 (diff)
downloadlua-599f1742c628db70ef84794b3b8b25fdef9e5004.tar.gz
lua-599f1742c628db70ef84794b3b8b25fdef9e5004.tar.bz2
lua-599f1742c628db70ef84794b3b8b25fdef9e5004.zip
detail (typo in comments)
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.c b/lobject.c
index fb2c172c..e9e037f7 100644
--- a/lobject.c
+++ b/lobject.c
@@ -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.