AdaCore / startup-gen

A startup code generator for embedded projects
28 stars 9 forks source link

Fix tag association in tables #37

Closed Fabien-Chouteau closed 1 year ago

Fabien-Chouteau commented 1 year ago

Global tags such as "BOOT_ROM" were only working for the first iteration of a table, and would otherwise be empty.

Using a String to Unbounded_String association rather the String to Tag fixes the issue. As shown in the output of the print_tags test, the impacted tags are no longer vectors of element.

Part of W109-026.

CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.