From 0ab28d25ff150f3c7bebce1106b406f76d785d88 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sun, 4 Mar 2018 22:52:32 +1100 Subject: src/luaconf.js: Add comment about LUA_COMPAT_FLOATSTRING --- src/luaconf.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/luaconf.js b/src/luaconf.js index 278173d..84cf354 100644 --- a/src/luaconf.js +++ b/src/luaconf.js @@ -1,5 +1,11 @@ "use strict"; +/* +@@ LUA_COMPAT_FLOATSTRING makes Lua format integral floats without a +@@ a float mark ('.0'). +** This macro is not on by default even in compatibility mode, +** because this is not really an incompatibility. +*/ const LUA_COMPAT_FLOATSTRING = false; const LUA_MAXINTEGER = 2147483647; -- cgit v1.2.3-54-g00ecf