embassy-rs / chiptool

Apache License 2.0
37 stars 21 forks source link

Fieldset extends check #20

Closed eZioPan closed 5 months ago

Dirbaio commented 5 months ago

the hang was caused by the extends not existing, or because of a loop?

eZioPan commented 5 months ago

the hang was caused by the extends not existing, or because of a loop?

not exist

see https://github.com/embassy-rs/stm32-data/pull/364/commits/347474f523294132f9bb5b56ccac96f0e1e3310b

eZioPan commented 5 months ago

It enter endless loop at L66

https://github.com/embassy-rs/chiptool/blob/02386dc0f5cc9fc24ab6278054f05755266af59e/src/transform/expand_extends.rs#L59-L66

since done.len() won't equal to vals.len()