commit 0edcdf49c00b70986f3efc12ceae912db2361d67
parent b7dfd18612db1450ee3f8d1ebe2d0b6a3f91ec04
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Thu, 5 Feb 2015 14:53:09 -0200
added comments documenting LUA_NOCVTN2S/LUA_NOCVTS2N
Diffstat:
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/luaconf.h b/luaconf.h
@@ -1,5 +1,5 @@
/*
-** $Id: luaconf.h,v 1.242 2015/01/16 17:26:56 roberto Exp roberto $
+** $Id: luaconf.h,v 1.243 2015/02/04 12:52:57 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -654,6 +654,24 @@
/*
** {==================================================================
+** Language Variations
+** =====================================================================
+*/
+
+/*
+@@ LUA_NOCVTN2S/LUA_NOCVTS2N control how Lua performs some
+** coercions. Define LUA_NOCVTN2S to turn off automatic coercion from
+** numbers to strings. Define LUA_NOCVTS2N to turn off automatic
+** coercion from strings to numbers.
+*/
+/* #define LUA_NOCVTN2S */
+/* #define LUA_NOCVTS2N */
+
+/* }================================================================== */
+
+
+/*
+** {==================================================================
** Macros that affect the API and must be stable (that is, must be the
** same when you compile Lua and when you compile code that links to
** Lua). You probably do not want/need to change them.