olofk / fusesoc

Package manager and build abstraction tool for FPGA/ASIC development
BSD 2-Clause "Simplified" License
1.15k stars 240 forks source link

yaml duplicate keys #289

Open towoe opened 5 years ago

towoe commented 5 years ago

Just want to raise awareness to https://github.com/yaml/pyyaml/issues/165 as this can lead to weird behaviors. If for example filesets has two entries with the same name only the content of the last occurrence is used. This is illegal with yaml and is also reported by yamllint but is not reported as an error with fusesoc. As the pyyaml issue already exists for some time, maybe it would make sense to integrate a workaround?

olofk commented 4 years ago

Thanks. Good to know. I'm worried that it would need another parser to even find the issue, but perhaps run yamllint on the files first would work