aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manual/manual.of10
1 files changed, 5 insertions, 5 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 53073a54..a3990d33 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -1499,13 +1499,13 @@ The declaration can include an initialization:
1499@Produc{ 1499@Produc{
1500@producname{stat}@producbody{@Rw{local} attnamelist @bnfopt{@bnfter{=} explist}} 1500@producname{stat}@producbody{@Rw{local} attnamelist @bnfopt{@bnfter{=} explist}}
1501@producname{attnamelist}@producbody{ 1501@producname{attnamelist}@producbody{
1502 attrib @bnfNter{Name} @bnfrep{@bnfter{,} attrib @bnfNter{Name}}} 1502 @bnfNter{Name} attrib @bnfrep{@bnfter{,} @bnfNter{Name} attrib}}
1503} 1503}
1504If present, an initial assignment has the same semantics 1504If present, an initial assignment has the same semantics
1505of a multiple assignment @see{assignment}. 1505of a multiple assignment @see{assignment}.
1506Otherwise, all variables are initialized with @nil. 1506Otherwise, all variables are initialized with @nil.
1507 1507
1508Each variable name may be preceded by an attribute 1508Each variable name may be postfixed by an attribute
1509(a name between angle brackets): 1509(a name between angle brackets):
1510@Produc{ 1510@Produc{
1511@producname{attrib}@producbody{@bnfopt{@bnfter{<} @bnfNter{Name} @bnfter{>}}} 1511@producname{attrib}@producbody{@bnfopt{@bnfter{<} @bnfNter{Name} @bnfter{>}}}
@@ -1514,7 +1514,7 @@ There are two possible attributes:
1514@id{const}, which declares a @x{constant variable}, 1514@id{const}, which declares a @x{constant variable},
1515that is, a variable that cannot be assigned to 1515that is, a variable that cannot be assigned to
1516after its initialization; 1516after its initialization;
1517and @id{toclose}, which declares a to-be-closed variable @see{to-be-closed}. 1517and @id{close}, which declares a to-be-closed variable @see{to-be-closed}.
1518A list of variables can contain at most one to-be-closed variable. 1518A list of variables can contain at most one to-be-closed variable.
1519 1519
1520A chunk is also a block @see{chunks}, 1520A chunk is also a block @see{chunks},
@@ -1569,7 +1569,7 @@ Similarly, if a coroutine ends with an error,
1569it does not unwind its stack, 1569it does not unwind its stack,
1570so it does not close any variable. 1570so it does not close any variable.
1571In both cases, 1571In both cases,
1572you should either use finalizers 1572you can either use finalizers
1573or call @Lid{coroutine.close} to close the variables. 1573or call @Lid{coroutine.close} to close the variables.
1574However, if the coroutine was created 1574However, if the coroutine was created
1575through @Lid{coroutine.wrap}, 1575through @Lid{coroutine.wrap},
@@ -9066,7 +9066,7 @@ and @bnfNter{LiteralString}, see @See{lexical}.)
9066} 9066}
9067 9067
9068@producname{attnamelist}@producbody{ 9068@producname{attnamelist}@producbody{
9069 attrib @bnfNter{Name} @bnfrep{@bnfter{,} attrib @bnfNter{Name}}} 9069 @bnfNter{Name} attrib @bnfrep{@bnfter{,} @bnfNter{Name} attrib}}
9070 9070
9071@producname{attrib}@producbody{@bnfopt{@bnfter{<} @bnfNter{Name} @bnfter{>}}} 9071@producname{attrib}@producbody{@bnfopt{@bnfter{<} @bnfNter{Name} @bnfter{>}}}
9072 9072