aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of8
1 files changed, 3 insertions, 5 deletions
diff --git a/manual/manual.of b/manual/manual.of
index ad273d62..0127df02 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -2354,8 +2354,7 @@ initialized with the argument values:
2354@Produc{ 2354@Produc{
2355@producname{parlist}@producbody{namelist @bnfopt{@bnfter{,} varargparam} @Or 2355@producname{parlist}@producbody{namelist @bnfopt{@bnfter{,} varargparam} @Or
2356 varargparam} 2356 varargparam}
2357@producname{varargparam}@producbody{@bnfter{...} 2357@producname{varargparam}@producbody{@bnfter{...} @bnfopt{@bnfNter{Name}}}
2358 @bnfopt{@bnfter{|} @bnfNter{Name}}}
2359} 2358}
2360When a Lua function is called, 2359When a Lua function is called,
2361it adjusts its list of @x{arguments} to 2360it adjusts its list of @x{arguments} to
@@ -2396,7 +2395,7 @@ g(5, r()) a=5, b=1, ... -> 2 3
2396} 2395}
2397 2396
2398The presence of a varag table in a variadic function is indicated 2397The presence of a varag table in a variadic function is indicated
2399by the @T{|name} syntax after the three dots. 2398by a name after the three dots.
2400When present, 2399When present,
2401a vararg table behaves like a read-only local variable 2400a vararg table behaves like a read-only local variable
2402with the given name that is initialized with a table. 2401with the given name that is initialized with a table.
@@ -9773,8 +9772,7 @@ and @bnfNter{LiteralString}, see @See{lexical}.)
9773@producname{parlist}@producbody{namelist @bnfopt{@bnfter{,} varargparam} @Or 9772@producname{parlist}@producbody{namelist @bnfopt{@bnfter{,} varargparam} @Or
9774 varargparam} 9773 varargparam}
9775 9774
9776@producname{varargparam}@producbody{@bnfter{...} 9775@producname{varargparam}@producbody{@bnfter{...} @bnfopt{@bnfNter{Name}}}
9777 @bnfopt{@bnfter{|} @bnfNter{Name}}}
9778 9776
9779@producname{tableconstructor}@producbody{@bnfter{@Open} @bnfopt{fieldlist} @bnfter{@Close}} 9777@producname{tableconstructor}@producbody{@bnfter{@Open} @bnfopt{fieldlist} @bnfter{@Close}}
9780 9778