Skip to content

Fails to parse WAT with escaped string inside it #55

@paudsu01

Description

@paudsu01

wabt.parseWat fails when the wat file contains a string that contains an escaped string.

Steps to reproduce:

  1. 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!")
)
  1. Use the library to call parseWat

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions