summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-03-04 22:52:32 +1100
committerdaurnimator <quae@daurnimator.com>2018-03-04 22:52:32 +1100
commit0ab28d25ff150f3c7bebce1106b406f76d785d88 (patch)
tree630b233e9be9a8481273b41a6d9c19e1e14784df /src
parent80555ae8258b29b7cd72301a8dac81a10f2a7eeb (diff)
downloadfengari-0ab28d25ff150f3c7bebce1106b406f76d785d88.tar.gz
fengari-0ab28d25ff150f3c7bebce1106b406f76d785d88.tar.bz2
fengari-0ab28d25ff150f3c7bebce1106b406f76d785d88.zip
src/luaconf.js: Add comment about LUA_COMPAT_FLOATSTRING
Diffstat (limited to 'src')
-rw-r--r--src/luaconf.js6
1 files changed, 6 insertions, 0 deletions
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;