Ro5bert / avra

Assembler for the Atmel AVR microcontroller family
GNU General Public License v2.0
153 stars 39 forks source link

Fix include path only being copied when the first includepath directive (fixes #30). #31

Closed jameswilddev closed 3 years ago

jameswilddev commented 3 years ago

The token was copied to a new buffer only when the first .includepath directive; this meant that subsequent .includepath directives would add what appears to be a reused buffer to the linked list of include paths, and when it came to look up a path, random text would be in that linked list and lookups would fail.

Ro5bert commented 3 years ago

Thank you for the fix and the test.