diff options
| author | Vexu <git@vexu.eu> | 2020-05-14 11:19:14 +0300 |
|---|---|---|
| committer | Vexu <git@vexu.eu> | 2020-05-14 11:19:14 +0300 |
| commit | ac319b27348f60e37f3f1b478fee00202280715f (patch) | |
| tree | d249f3b1ab6d65ad0dadd177ce9a9dab2112431c /doc | |
| parent | c3b76d091337ba60d2ccb3632b525e5a42d1f2c5 (diff) | |
| download | zig-ac319b27348f60e37f3f1b478fee00202280715f.tar.gz zig-ac319b27348f60e37f3f1b478fee00202280715f.zip | |
remove useless nosuspend parsing
nosuspend cannot be used in a type expression and
all other use casesare covered by PrimaryExpr
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index 5bf91ca70f..0733540478 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -10096,6 +10096,7 @@ ContainerField <- IDENTIFIER (COLON TypeExpr)? (EQUAL Expr)? Statement <- KEYWORD_comptime? VarDecl / KEYWORD_comptime BlockExprStatement + / KEYWORD_nosuspend BlockExprStatement / KEYWORD_suspend (SEMICOLON / BlockExprStatement) / KEYWORD_defer BlockExprStatement / KEYWORD_errdefer BlockExprStatement @@ -10152,6 +10153,7 @@ PrimaryExpr / IfExpr / KEYWORD_break BreakLabel? Expr? / KEYWORD_comptime Expr + / KEYWORD_nosuspend Expr / KEYWORD_continue BreakLabel? / KEYWORD_resume Expr / KEYWORD_return Expr? @@ -10514,6 +10516,7 @@ KEYWORD_for <- 'for' end_of_word KEYWORD_if <- 'if' end_of_word KEYWORD_inline <- 'inline' end_of_word KEYWORD_noalias <- 'noalias' end_of_word +KEYWORD_nosuspend <- 'nosuspend' end_of_word KEYWORD_null <- 'null' end_of_word KEYWORD_or <- 'or' end_of_word KEYWORD_orelse <- 'orelse' end_of_word |
