WastParser seems to:

- allow `(module binary "...")` in `ParseModule` (even though this is not valid syntax for the Wasm text format; it's only valid for scripts), and
- forbid `(module quote "...")`in `ParseScript`, even though this is a valid script command. (It does allow `(module quote)` when inside `(assert_malformed)`, which is the only thing the spec tests actually use.)

Not saying either of these edge cases is critical, but just documenting for the record. I think it would be nice to tighten up the first one since this seems like a possible avenue for mischief.
WastParser handling of `(module binary)` and `(module quote)`
This is a GitHub Issue
repo:wabt
owner:WebAssembly
Title : WastParser handling of `(module binary)` and `(module quote)`
Issue date:

--- start body ---
WastParser seems to:

- allow `(module binary "...")` in `ParseModule` (even though this is not valid syntax for the Wasm text format; it's only valid for scripts), and
- forbid `(module quote "...")`in `ParseScript`, even though this is a valid script command. (It does allow `(module quote)` when inside `(assert_malformed)`, which is the only thing the spec tests actually use.)

Not saying either of these edge cases is critical, but just documenting for the record. I think it would be nice to tighten up the first one since this seems like a possible avenue for mischief.
--- end body ---
