jserv / amacc

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

Compound assign operators don't work with struct member lvalues #93

Closed HPCguy closed 2 years ago

HPCguy commented 2 years ago

"s.memb += xxx ;" does not work. I believe the type handling state machine implemented in expr() can be simplified, but it could take as much as a full day of work to get it right.

HPCguy commented 2 years ago

I am closing this since I have been unable to create a reproducer, and I failed to keep the specific example that was failing. If I encounter the problem again, I will reopen this ticket when I submit the resolution to the problem as a pull request.