rp-rs / pio-rs

Support crate for Raspberry Pi's PIO architecture.
MIT License
149 stars 22 forks source link

Fix global directive newlines error #25

Closed ZadenRB closed 2 years ago

ZadenRB commented 2 years ago

Fixes the global define directive issue described in #24. I'm not familiar with lalrpop, if there's a better way if fixing this I'm happy to make changes.

devsnek commented 2 years ago

thank you! could you modify or add a test to ensure this works?

ZadenRB commented 2 years ago

Added to the pio_file! test to ensure the global public define was present in both test and test2 from the test.pio file.