diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-12-17 13:56:22 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-12-17 13:56:22 -0200 |
commit | af6d9f31165a13c34c0601f37ca5a67c365d1d01 (patch) | |
tree | b38572c639b77113a06fc8546378a7ca519c919d /manual | |
parent | 2258f3133b27a6a3db703644311e0a59b6c7b0f6 (diff) | |
download | lua-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.of | 16 |
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 | |||
1027 | or newline followed by carriage return) | 1027 | or newline followed by carriage return) |
1028 | is converted to a simple newline. | 1028 | is converted to a simple newline. |
1029 | 1029 | ||
1030 | For convenience, | 1030 | When the opening long bracket is immediately followed by a newline, |
1031 | when the opening long bracket is immediately followed by a newline, | ||
1032 | the newline is not included in the string. | 1031 | the newline is not included in the string. |
1033 | As an example, in a system using ASCII | 1032 | As 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 | |||
1048 | Any byte in a literal string not | 1047 | Any byte in a literal string not |
1049 | explicitly affected by the previous rules represents itself. | 1048 | explicitly affected by the previous rules represents itself. |
1050 | However, Lua opens files for parsing in text mode, | 1049 | However, Lua opens files for parsing in text mode, |
1051 | and the system file functions may have problems with | 1050 | and the system's file functions may have problems with |
1052 | some control characters. | 1051 | some control characters. |
1053 | So, it is safer to represent | 1052 | So, it is safer to represent |
1054 | non-text data as a quoted literal with | 1053 | non-text data as a quoted literal with |
@@ -1782,19 +1781,19 @@ These operators always result in @false or @true. | |||
1782 | Equality (@T{==}) first compares the type of its operands. | 1781 | Equality (@T{==}) first compares the type of its operands. |
1783 | If the types are different, then the result is @false. | 1782 | If the types are different, then the result is @false. |
1784 | Otherwise, the values of the operands are compared. | 1783 | Otherwise, the values of the operands are compared. |
1785 | Strings are compared in the obvious way. | 1784 | Strings are equal if they have the same content. |
1786 | Numbers are equal if they denote the same mathematical value. | 1785 | Numbers are equal if they denote the same mathematical value. |
1787 | 1786 | ||
1788 | Tables, userdata, and threads | 1787 | Tables, userdata, and threads |
1789 | are compared by reference: | 1788 | are compared by reference: |
1790 | two objects are considered equal only if they are the same object. | 1789 | two objects are considered equal only if they are the same object. |
1791 | Every time you create a new object | 1790 | Every time you create a new object |
1792 | (a table, userdata, or thread), | 1791 | (a table, a userdata, or a thread), |
1793 | this new object is different from any previously existing object. | 1792 | this new object is different from any previously existing object. |
1794 | A closure is always equal to itself. | 1793 | A function is always equal to itself. |
1795 | Closures with any detectable difference | 1794 | Functions with any detectable difference |
1796 | (different behavior, different definition) are always different. | 1795 | (different behavior, different definition) are always different. |
1797 | Closures created at different times but with no detectable differences | 1796 | Functions created at different times but with no detectable differences |
1798 | may be classified as equal or not | 1797 | may 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 | ||
4325 | Returns the pseudo-index that represents the @id{i}-th upvalue of | 4324 | Returns the pseudo-index that represents the @id{i}-th upvalue of |
4326 | the running function @see{c-closure}. | 4325 | the running function @see{c-closure}. |
4326 | @id{i} must be in the range @M{[1,256]}. | ||
4327 | 4327 | ||
4328 | } | 4328 | } |
4329 | 4329 | ||