diff options
author | Thomas Lively <tlively@google.com> | 2024-02-06 13:35:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 13:35:29 -0800 |
commit | 8cce4d103a2ee54e7f09e81fc25b982b060d0e41 (patch) | |
tree | bfea5d74173a307b5e802cbbaeb4284f12894dc1 /src/passes/StringLowering.cpp | |
parent | 41b365e99ffd68f427b561121c364028f2c2d2f9 (diff) | |
download | binaryen-8cce4d103a2ee54e7f09e81fc25b982b060d0e41.tar.gz binaryen-8cce4d103a2ee54e7f09e81fc25b982b060d0e41.tar.bz2 binaryen-8cce4d103a2ee54e7f09e81fc25b982b060d0e41.zip |
[Parser] Support string-style identifiers (#6278)
In addition to normal identifiers, support parsing identifiers of the format
`$"..."`. This format is not yet allowed by the standard, but it is a popular
proposed extension (see https://github.com/WebAssembly/spec/issues/617 and
https://github.com/WebAssembly/annotations/issues/21).
Binaryen has historically allowed a similar format and has supported arbitrary
non-standard identifier characters, so it's much easier to support this extended
syntax than to fix everything to use the restricted standard syntax.
Diffstat (limited to 'src/passes/StringLowering.cpp')
0 files changed, 0 insertions, 0 deletions