From a9295a2b8ebca6bb7071c4424fd318afa33ebb9e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sat, 30 Dec 2017 18:46:18 -0200 Subject: typos in comments --- lobject.c | 6 +++--- luaconf.h | 6 +++--- lvm.c | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lobject.c b/lobject.c index e9e037f7..c7d4c06a 100644 --- a/lobject.c +++ b/lobject.c @@ -1,5 +1,5 @@ /* -** $Id: lobject.c,v 2.120 2017/11/16 13:19:06 roberto Exp roberto $ +** $Id: lobject.c,v 2.121 2017/11/23 19:29:04 roberto Exp roberto $ ** Some generic functions over Lua objects ** See Copyright Notice in lua.h */ @@ -193,7 +193,7 @@ static int isneg (const char **s) { #define MAXSIGDIG 30 /* -** convert an hexadecimal numeric string to a number, following +** convert a hexadecimal numeric string to a number, following ** C99 specification for 'strtod' */ static lua_Number lua_strx2number (const char *s, char **endptr) { @@ -268,7 +268,7 @@ static const char *l_str2dloc (const char *s, lua_Number *result, int mode) { ** Convert string 's' to a Lua number (put in 'result'). Return NULL ** on fail or the address of the ending '\0' on success. ** 'pmode' points to (and 'mode' contains) special things in the string: -** - 'x'/'X' means an hexadecimal numeral +** - 'x'/'X' means a hexadecimal numeral ** - '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 diff --git a/luaconf.h b/luaconf.h index 2bf1bdd1..888e402b 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.261 2017/04/24 18:06:12 roberto Exp roberto $ +** $Id: luaconf.h,v 1.262 2017/12/07 18:53:33 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -610,7 +610,7 @@ /* -@@ lua_strx2number converts an hexadecimal numeric string to a number. +@@ lua_strx2number converts a hexadecimal numeric string to a number. ** In C99, 'strtod' does that conversion. Otherwise, you can ** leave 'lua_strx2number' undefined and Lua will provide its own ** implementation. @@ -628,7 +628,7 @@ /* -@@ lua_number2strx converts a float to an hexadecimal numeric string. +@@ lua_number2strx converts a float to a hexadecimal numeric string. ** In C99, 'sprintf' (with format specifiers '%a'/'%A') does that. ** Otherwise, you can leave 'lua_number2strx' undefined and Lua will ** provide its own implementation. diff --git a/lvm.c b/lvm.c index 212d5f9d..2b035932 100644 --- a/lvm.c +++ b/lvm.c @@ -1,5 +1,5 @@ /* -** $Id: lvm.c,v 2.329 2017/12/22 14:16:46 roberto Exp roberto $ +** $Id: lvm.c,v 2.330 2017/12/28 15:42:57 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -674,7 +674,7 @@ static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base, /* -** finish execution of an opcode interrupted by an yield +** finish execution of an opcode interrupted by a yield */ void luaV_finishOp (lua_State *L) { CallInfo *ci = L->ci; -- cgit v1.2.3-55-g6feb