open-flash / swf-parser

Rust and Typescript parsers for SWF
GNU Affero General Public License v3.0
28 stars 8 forks source link

[ts] Add support for invalid tag body #122

Closed demurgos closed 4 years ago

demurgos commented 4 years ago

This commit updates the TS error recovery mechanism to align it with the Typescript implementation: unknown codes and invalid tag bodies now produce a RawBody tag.