aboutsummaryrefslogtreecommitdiff
path: root/manual/manual.of
diff options
context:
space:
mode:
Diffstat (limited to 'manual/manual.of')
-rw-r--r--manual/manual.of13
1 files changed, 11 insertions, 2 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 89e9b8f4..3c704118 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -270,7 +270,7 @@ print(x) --> 10 (the global one)
270 270
271Notice that, in a declaration like @T{local x = x}, 271Notice that, in a declaration like @T{local x = x},
272the new @id{x} being declared is not in scope yet, 272the new @id{x} being declared is not in scope yet,
273and so the @id{x} in the right-hand side refers to the outside variable. 273and so the @id{x} on the right-hand side refers to the outside variable.
274 274
275Because of the @x{lexical scoping} rules, 275Because of the @x{lexical scoping} rules,
276local variables can be freely accessed by functions 276local variables can be freely accessed by functions
@@ -2826,7 +2826,16 @@ status codes to indicate different kinds of errors or other conditions:
2826For such errors, Lua does not call the @x{message handler}. 2826For such errors, Lua does not call the @x{message handler}.
2827} 2827}
2828 2828
2829@item{@defid{LUA_ERRERR}| error while running the @x{message handler}.} 2829@item{@defid{LUA_ERRERR}|
2830stack overflow while running the @x{message handler}
2831due to another stack overflow.
2832More often than not,
2833this error is the result of some other error while running
2834a message handler.
2835An error in a message handler will call the handler again,
2836which will generate the error again, and so on,
2837until this loop exhausts the stack and cause this error.
2838}
2830 2839
2831@item{@defid{LUA_ERRSYNTAX}| syntax error during precompilation 2840@item{@defid{LUA_ERRSYNTAX}| syntax error during precompilation
2832or format error in a binary chunk.} 2841or format error in a binary chunk.}