GothicKit / ZenKit

A re-implementation of file formats used by the early 2000's ZenGin
http://zk.gothickit.dev/
MIT License
47 stars 10 forks source link

[v1.1.1] Missing catch/re-throw on `sto_` calls #62

Closed lmichaelis closed 1 year ago

lmichaelis commented 1 year ago

stoi and stof calls don't handle exceptions properly. We should catch and re-throw parser_error instead

See https://github.com/Try/OpenGothic/issues/421#issuecomment-1458722841