diff options
author | Thomas Lively <tlively@google.com> | 2024-08-27 12:50:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 12:50:07 -0700 |
commit | 52118e536238c10f6873390a6ca475a44350bc71 (patch) | |
tree | 2023512b05e3d110f5b7d2c452462a0f48c606fc /scripts/gen-s-parser.py | |
parent | 6c2d0e20906248ab8f8365702b35fd67db29c44f (diff) | |
download | binaryen-52118e536238c10f6873390a6ca475a44350bc71.tar.gz binaryen-52118e536238c10f6873390a6ca475a44350bc71.tar.bz2 binaryen-52118e536238c10f6873390a6ca475a44350bc71.zip |
Check for required actions when parsing wast (#6874)
The parser function for `action` returned a `MaybeResult`, but we were
treating it as returning a normal `Result` and not checking that it had
contents in several places. Replace the current `action()` with
`maybeAction()` and add a new `action()` that requires the action to be
present.
Fixes #6872.
Diffstat (limited to 'scripts/gen-s-parser.py')
0 files changed, 0 insertions, 0 deletions