diff options
| author | Vexu <git@vexu.eu> | 2020-05-15 14:15:30 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-15 14:15:30 +0300 |
| commit | f8b99331a2ca98f0e938c8caaf1cd232ad1e9fa3 (patch) | |
| tree | aa74657a7023f839462bf2512b4ed4db4616243f /doc | |
| parent | 4b898893e21fc644c4e7a163232e5e98631640d6 (diff) | |
| parent | 440189a04ae4baa4a20114fe1d30f0eb585bacc4 (diff) | |
| download | zig-f8b99331a2ca98f0e938c8caaf1cd232ad1e9fa3.tar.gz zig-f8b99331a2ca98f0e938c8caaf1cd232ad1e9fa3.zip | |
Merge pull request #5336 from Vexu/parser
Make self-hosted parser more error tolerant
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 ab84209d5e..e7b509300a 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -10104,6 +10104,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 @@ -10160,6 +10161,7 @@ PrimaryExpr / IfExpr / KEYWORD_break BreakLabel? Expr? / KEYWORD_comptime Expr + / KEYWORD_nosuspend Expr / KEYWORD_continue BreakLabel? / KEYWORD_resume Expr / KEYWORD_return Expr? @@ -10522,6 +10524,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 |
