wabt.parseWat fails when the wat file contains a string that contains an escaped string.
Steps to reproduce:
- Create a
.wat file which contains an escaped " inside a string. For example, a file with the following content:
(module
(data (;0;) (i32.const 0) "Hello\"world!")
)
- Use the library to call
parseWat