diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-02-26 00:04:11 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-02-26 00:04:11 -0500 |
| commit | c60496a297a0d4c53ad0e22850ad62b0b4a2d841 (patch) | |
| tree | 821fd1f0399d8d013acba645a9f54df6914adad7 /src/analyze.cpp | |
| parent | 6fef7406c80d6db26513a6ae53f9c44444bef1f2 (diff) | |
| download | zig-c60496a297a0d4c53ad0e22850ad62b0b4a2d841.tar.gz zig-c60496a297a0d4c53ad0e22850ad62b0b4a2d841.zip | |
parse await and suspend syntax
See #727
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 69b6fe4790..ce9e99f8fa 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -3214,6 +3214,8 @@ void scan_decls(CodeGen *g, ScopeDecls *decls_scope, AstNode *node) { case NodeTypeTestExpr: case NodeTypeErrorSetDecl: case NodeTypeCancel: + case NodeTypeAwaitExpr: + case NodeTypeSuspend: zig_unreachable(); } } |
