jserv / amacc

Small C Compiler generating ELF executable Arm architecture, supporting JIT execution
Other
1.01k stars 159 forks source link

Allow use of array index with struct pointers #88

Closed HPCguy closed 2 years ago

HPCguy commented 2 years ago

Bug fix.

HPCguy commented 2 years ago

Closes #83

jserv commented 2 years ago

Hint: You can automatically close certain issue(s) within git commit message. See https://stackoverflow.com/questions/3547445/closing-multiple-issues-in-github-with-a-commit-message

HPCguy commented 2 years ago

The "init" and "increment" sections of a for-statement are supposed to be optional. While strengthening tests/struct.c, I found that they were not optional and corrected the oversight.

jserv commented 2 years ago

Thank @HPCguy for this effort!