diff options
| author | Josh Wolfe <thejoshwolfe@gmail.com> | 2017-04-14 16:09:01 -0700 |
|---|---|---|
| committer | Josh Wolfe <thejoshwolfe@gmail.com> | 2017-04-14 16:09:01 -0700 |
| commit | 3e93796e246f22bad43634682966390c15d7f936 (patch) | |
| tree | 322908f080d1a6a48453824919f9274ec49a727f /src/analyze.cpp | |
| parent | 5fdefe58e43730b3ce28306b8fe28d7bd70c736d (diff) | |
| download | zig-3e93796e246f22bad43634682966390c15d7f936.tar.gz zig-3e93796e246f22bad43634682966390c15d7f936.zip | |
comptime ({}) should not get an implicit semicolon
closes #292.
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 3b0b9753e8..c3e2522ab4 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -2076,6 +2076,7 @@ void scan_decls(CodeGen *g, ScopeDecls *decls_scope, AstNode *node) { case NodeTypeReturnExpr: case NodeTypeDefer: case NodeTypeBlock: + case NodeTypeGroupedExpr: case NodeTypeBinOpExpr: case NodeTypeUnwrapErrorExpr: case NodeTypeFnCallExpr: |
