aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-12-17 13:56:22 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-12-17 13:56:22 -0200
commitaf6d9f31165a13c34c0601f37ca5a67c365d1d01 (patch)
treeb38572c639b77113a06fc8546378a7ca519c919d /manual
parent2258f3133b27a6a3db703644311e0a59b6c7b0f6 (diff)
downloadlua-af6d9f31165a13c34c0601f37ca5a67c365d1d01.tar.gz
lua-af6d9f31165a13c34c0601f37ca5a67c365d1d01.tar.bz2
lua-af6d9f31165a13c34c0601f37ca5a67c365d1d01.zip
Details
A few details in the makefile and in the manual. (In particular, it updates the dependency lists in the makefile.)
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of16
1 files changed, 8 insertions, 8 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 862d032b..044bd09c 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -1027,8 +1027,7 @@ Any kind of end-of-line sequence
1027or newline followed by carriage return) 1027or newline followed by carriage return)
1028is converted to a simple newline. 1028is converted to a simple newline.
1029 1029
1030For convenience, 1030When the opening long bracket is immediately followed by a newline,
1031when the opening long bracket is immediately followed by a newline,
1032the newline is not included in the string. 1031the newline is not included in the string.
1033As an example, in a system using ASCII 1032As an example, in a system using ASCII
1034(in which @Char{a} is coded @N{as 97}, 1033(in which @Char{a} is coded @N{as 97},
@@ -1048,7 +1047,7 @@ alo
1048Any byte in a literal string not 1047Any byte in a literal string not
1049explicitly affected by the previous rules represents itself. 1048explicitly affected by the previous rules represents itself.
1050However, Lua opens files for parsing in text mode, 1049However, Lua opens files for parsing in text mode,
1051and the system file functions may have problems with 1050and the system's file functions may have problems with
1052some control characters. 1051some control characters.
1053So, it is safer to represent 1052So, it is safer to represent
1054non-text data as a quoted literal with 1053non-text data as a quoted literal with
@@ -1782,19 +1781,19 @@ These operators always result in @false or @true.
1782Equality (@T{==}) first compares the type of its operands. 1781Equality (@T{==}) first compares the type of its operands.
1783If the types are different, then the result is @false. 1782If the types are different, then the result is @false.
1784Otherwise, the values of the operands are compared. 1783Otherwise, the values of the operands are compared.
1785Strings are compared in the obvious way. 1784Strings are equal if they have the same content.
1786Numbers are equal if they denote the same mathematical value. 1785Numbers are equal if they denote the same mathematical value.
1787 1786
1788Tables, userdata, and threads 1787Tables, userdata, and threads
1789are compared by reference: 1788are compared by reference:
1790two objects are considered equal only if they are the same object. 1789two objects are considered equal only if they are the same object.
1791Every time you create a new object 1790Every time you create a new object
1792(a table, userdata, or thread), 1791(a table, a userdata, or a thread),
1793this new object is different from any previously existing object. 1792this new object is different from any previously existing object.
1794A closure is always equal to itself. 1793A function is always equal to itself.
1795Closures with any detectable difference 1794Functions with any detectable difference
1796(different behavior, different definition) are always different. 1795(different behavior, different definition) are always different.
1797Closures created at different times but with no detectable differences 1796Functions created at different times but with no detectable differences
1798may be classified as equal or not 1797may be classified as equal or not
1799(depending on internal cashing details). 1798(depending on internal cashing details).
1800 1799
@@ -4324,6 +4323,7 @@ The unsigned version of @Lid{lua_Integer}.
4324 4323
4325Returns the pseudo-index that represents the @id{i}-th upvalue of 4324Returns the pseudo-index that represents the @id{i}-th upvalue of
4326the running function @see{c-closure}. 4325the running function @see{c-closure}.
4326@id{i} must be in the range @M{[1,256]}.
4327 4327
4328} 4328}
4329 4329