diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-02-28 22:18:48 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-02-28 22:18:48 -0500 |
| commit | 8429d4ceac4eb99fbe8aeca2ebe864dfd5b40470 (patch) | |
| tree | 693a05c4e44a5a1148505df8bf599ab5dda99fca /doc | |
| parent | c6227661568a9e8cad9d28bd7a11cb76c4f9c1c1 (diff) | |
| download | zig-8429d4ceac4eb99fbe8aeca2ebe864dfd5b40470.tar.gz zig-8429d4ceac4eb99fbe8aeca2ebe864dfd5b40470.zip | |
implement coroutine resume
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index 25a90e3361..83d5e65bba 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -5682,7 +5682,7 @@ ErrorSetExpr = (PrefixOpExpression "!" PrefixOpExpression) | PrefixOpExpression BlockOrExpression = Block | Expression -Expression = TryExpression | ReturnExpression | BreakExpression | AssignmentExpression | CancelExpression +Expression = TryExpression | ReturnExpression | BreakExpression | AssignmentExpression | CancelExpression | ResumeExpression AsmExpression = "asm" option("volatile") "(" String option(AsmOutput) ")" @@ -5730,6 +5730,8 @@ BreakExpression = "break" option(":" Symbol) option(Expression) CancelExpression = "cancel" Expression; +ResumeExpression = "resume" Expression; + Defer(body) = ("defer" | "deferror") body IfExpression(body) = "if" "(" Expression ")" body option("else" BlockExpression(body)) |
