diff --git a/packages/wast-parser/src/grammar.js b/packages/wast-parser/src/grammar.js index 98534ae37..bac07b2a2 100644 --- a/packages/wast-parser/src/grammar.js +++ b/packages/wast-parser/src/grammar.js @@ -789,6 +789,7 @@ export function parse(tokensList: Array, source: string): Program { eatToken(); maybeIgnoreComment(); + maybeIgnoreComment(); } eatTokenOfType(tokens.closeParen);