diff options
Diffstat (limited to 'manual/manual.of')
-rw-r--r-- | manual/manual.of | 12 |
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 | ||
6909 | A global variable (not a function) that | 6909 | A global variable (not a function) that |
6910 | holds a string containing the running Lua version. | 6910 | holds a string containing the running Lua version. |
6911 | The current value of this variable is @St{Lua 5.4}. | 6911 | The 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 | ||
7155 | Lua initializes the @N{C path} @Lid{package.cpath} in the same way | 7155 | Lua initializes the @N{C path} @Lid{package.cpath} in the same way |
7156 | it initializes the Lua path @Lid{package.path}, | 7156 | it initializes the Lua path @Lid{package.path}, |
7157 | using the environment variable @defid{LUA_CPATH_5_4}, | 7157 | using the environment variable @defid{LUA_CPATH_5_5}, |
7158 | or the environment variable @defid{LUA_CPATH}, | 7158 | or the environment variable @defid{LUA_CPATH}, |
7159 | or a default path defined in @id{luaconf.h}. | 7159 | or a default path defined in @id{luaconf.h}. |
7160 | 7160 | ||
@@ -7223,7 +7223,7 @@ A string with the path used by @Lid{require} | |||
7223 | to search for a Lua loader. | 7223 | to search for a Lua loader. |
7224 | 7224 | ||
7225 | At start-up, Lua initializes this variable with | 7225 | At start-up, Lua initializes this variable with |
7226 | the value of the environment variable @defid{LUA_PATH_5_4} or | 7226 | the value of the environment variable @defid{LUA_PATH_5_5} or |
7227 | the environment variable @defid{LUA_PATH} or | 7227 | the environment variable @defid{LUA_PATH} or |
7228 | with a default path defined in @id{luaconf.h}, | 7228 | with a default path defined in @id{luaconf.h}, |
7229 | if those environment variables are not defined. | 7229 | if 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 | ||
7597 | local t = {name="lua", version="5.4"} | 7597 | local t = {name="lua", version="5.5"} |
7598 | x = string.gsub("$name-$version.tar.gz", "%$(%w+)", t) | 7598 | x = 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, | |||
9332 | and as @T{lua -} otherwise. | 9332 | and as @T{lua -} otherwise. |
9333 | 9333 | ||
9334 | When called without the option @T{-E}, | 9334 | When called without the option @T{-E}, |
9335 | the interpreter checks for an environment variable @defid{LUA_INIT_5_4} | 9335 | the 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) |
9337 | before running any argument. | 9337 | before running any argument. |
9338 | If the variable content has the format @T{@At@rep{filename}}, | 9338 | If the variable content has the format @T{@At@rep{filename}}, |