aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-12-07 11:17:30 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-12-07 11:17:30 -0300
commite2ea3b31c94bb3e1da27c233661cb2a16699c685 (patch)
tree1d817c8d90e5fbd2c52dff18383a085f2bc847c1 /manual
parent23051e830a8b212f831443eb888e93e30fa8bb19 (diff)
downloadlua-e2ea3b31c94bb3e1da27c233661cb2a16699c685.tar.gz
lua-e2ea3b31c94bb3e1da27c233661cb2a16699c685.tar.bz2
lua-e2ea3b31c94bb3e1da27c233661cb2a16699c685.zip
Details (do not affect regular code)
* Avoids multiple definitions of 'lua_assert' in test file. * Smaller C-stack limit in test mode. * Note in the manual about the use of false * Extra test for constant reuse.
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of5
1 files changed, 5 insertions, 0 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 606771f4..771bace0 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -88,6 +88,11 @@ The type @emph{boolean} has two values, @false and @true.
88Both @nil and @false make a condition false; 88Both @nil and @false make a condition false;
89they are collectively called @def{false values}. 89they are collectively called @def{false values}.
90Any other value makes a condition true. 90Any other value makes a condition true.
91Despite its name,
92@false is frequently used as an alternative to @nil,
93with the key difference that @false behaves
94like a regular value in a table,
95while a @nil in a table represents an absent key.
91 96
92The type @emph{number} represents both 97The type @emph{number} represents both
93integer numbers and real (floating-point) numbers, 98integer numbers and real (floating-point) numbers,