diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-11-16 12:00:28 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-11-16 12:00:28 -0300 |
commit | b117bdb3448778d9e7f9a0302791e8ac3bb97ddd (patch) | |
tree | cf83da22ab3ea7fae6bb2602c790f1a0ca9533c9 /manual | |
parent | f12ce4029dfbce7b89ec136e6b7ba5f6bca039da (diff) | |
download | lua-b117bdb3448778d9e7f9a0302791e8ac3bb97ddd.tar.gz lua-b117bdb3448778d9e7f9a0302791e8ac3bb97ddd.tar.bz2 lua-b117bdb3448778d9e7f9a0302791e8ac3bb97ddd.zip |
Counter for length of chains of __call metamethods
This counter will allow (in a later commit) error messages to correct
argument numbers in functions called through __call metamethods.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/manual.of | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manual/manual.of b/manual/manual.of index f0b17b4c..ce42ff51 100644 --- a/manual/manual.of +++ b/manual/manual.of | |||
@@ -9392,6 +9392,10 @@ If you need to change it, | |||
9392 | declare a local variable with the same name in the loop body. | 9392 | declare a local variable with the same name in the loop body. |
9393 | } | 9393 | } |
9394 | 9394 | ||
9395 | @item{ | ||
9396 | A chain of @id{__call} metamethods can have at most 15 objects. | ||
9397 | } | ||
9398 | |||
9395 | } | 9399 | } |
9396 | 9400 | ||
9397 | } | 9401 | } |