diff options
author | Sam Clegg <sbc@chromium.org> | 2017-06-12 16:50:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 16:50:28 -0700 |
commit | 68dc2eddc24844c7582cafa85afeb4023a47888f (patch) | |
tree | fcaedc839420fe43c555166420865d5aeef0dbfa /src/ast_utils.h | |
parent | 93c65f98b7a9b0977578dbf55778529efec646f1 (diff) | |
download | binaryen-68dc2eddc24844c7582cafa85afeb4023a47888f.tar.gz binaryen-68dc2eddc24844c7582cafa85afeb4023a47888f.tar.bz2 binaryen-68dc2eddc24844c7582cafa85afeb4023a47888f.zip |
Support new result syntax for if/loop/block (#1047)
Support both syntax formats in input since the old spec
tests still need to be parsable.
Diffstat (limited to 'src/ast_utils.h')
-rw-r--r-- | src/ast_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast_utils.h b/src/ast_utils.h index 823c08f9c..83818daa8 100644 --- a/src/ast_utils.h +++ b/src/ast_utils.h @@ -325,7 +325,7 @@ struct ExpressionAnalyzer { // Re-Finalizes all node types // This removes "unnecessary' block/if/loop types, i.e., that are added // specifically, as in -// (block i32 (unreachable)) +// (block (result i32) (unreachable)) // vs // (block (unreachable)) // This converts to the latter form. |