aboutsummaryrefslogtreecommitdiff
path: root/manual/manual.of
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-06-27 14:46:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-06-27 14:46:41 -0300
commit1da89da62fac7515937fb0f583b97dd50fdd0cbe (patch)
tree3c6ca5482430339883a17990832e6d37bb660cb7 /manual/manual.of
parentf6c627af20e48ae96bd17f4392ca74ce0ae90f36 (diff)
downloadlua-1da89da62fac7515937fb0f583b97dd50fdd0cbe.tar.gz
lua-1da89da62fac7515937fb0f583b97dd50fdd0cbe.tar.bz2
lua-1da89da62fac7515937fb0f583b97dd50fdd0cbe.zip
Manual updated to version 5.5
Diffstat (limited to 'manual/manual.of')
-rw-r--r--manual/manual.of12
1 files changed, 6 insertions, 6 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 5bab781b..bcc8173b 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -6908,7 +6908,7 @@ and @St{userdata}.
6908 6908
6909A global variable (not a function) that 6909A global variable (not a function) that
6910holds a string containing the running Lua version. 6910holds a string containing the running Lua version.
6911The current value of this variable is @St{Lua 5.4}. 6911The current value of this variable is @St{Lua 5.5}.
6912 6912
6913} 6913}
6914 6914
@@ -7154,7 +7154,7 @@ to search for a @N{C loader}.
7154 7154
7155Lua initializes the @N{C path} @Lid{package.cpath} in the same way 7155Lua initializes the @N{C path} @Lid{package.cpath} in the same way
7156it initializes the Lua path @Lid{package.path}, 7156it initializes the Lua path @Lid{package.path},
7157using the environment variable @defid{LUA_CPATH_5_4}, 7157using the environment variable @defid{LUA_CPATH_5_5},
7158or the environment variable @defid{LUA_CPATH}, 7158or the environment variable @defid{LUA_CPATH},
7159or a default path defined in @id{luaconf.h}. 7159or a default path defined in @id{luaconf.h}.
7160 7160
@@ -7223,7 +7223,7 @@ A string with the path used by @Lid{require}
7223to search for a Lua loader. 7223to search for a Lua loader.
7224 7224
7225At start-up, Lua initializes this variable with 7225At start-up, Lua initializes this variable with
7226the value of the environment variable @defid{LUA_PATH_5_4} or 7226the value of the environment variable @defid{LUA_PATH_5_5} or
7227the environment variable @defid{LUA_PATH} or 7227the environment variable @defid{LUA_PATH} or
7228with a default path defined in @id{luaconf.h}, 7228with a default path defined in @id{luaconf.h},
7229if those environment variables are not defined. 7229if those environment variables are not defined.
@@ -7594,9 +7594,9 @@ x = string.gsub("4+5 = $return 4+5$", "%$(.-)%$", function (s)
7594 end) 7594 end)
7595-- x="4+5 = 9" 7595-- x="4+5 = 9"
7596 7596
7597local t = {name="lua", version="5.4"} 7597local t = {name="lua", version="5.5"}
7598x = string.gsub("$name-$version.tar.gz", "%$(%w+)", t) 7598x = string.gsub("$name-$version.tar.gz", "%$(%w+)", t)
7599-- x="lua-5.4.tar.gz" 7599-- x="lua-5.5.tar.gz"
7600} 7600}
7601 7601
7602} 7602}
@@ -9332,7 +9332,7 @@ when the standard input (@id{stdin}) is a terminal,
9332and as @T{lua -} otherwise. 9332and as @T{lua -} otherwise.
9333 9333
9334When called without the option @T{-E}, 9334When called without the option @T{-E},
9335the interpreter checks for an environment variable @defid{LUA_INIT_5_4} 9335the interpreter checks for an environment variable @defid{LUA_INIT_5_5}
9336(or @defid{LUA_INIT} if the versioned name is not defined) 9336(or @defid{LUA_INIT} if the versioned name is not defined)
9337before running any argument. 9337before running any argument.
9338If the variable content has the format @T{@At@rep{filename}}, 9338If the variable content has the format @T{@At@rep{filename}},