Various fixes for the lv4 backend:
- expr such as "current x,y" should be written "current (x,y)" - abstract struct or array types were handled as extern types, which prevent the struct and array expanser to work them out. In order to fix that, I have added an Abstract_type_eff variant to Eff.type_ which contains the concerte type.
Showing
- src/eff.ml 8 additions, 3 deletionssrc/eff.ml
- src/getEff.ml 4 additions, 2 deletionssrc/getEff.ml
- src/lazyCompiler.ml 19 additions, 5 deletionssrc/lazyCompiler.ml
- src/licDump.ml 12 additions, 9 deletionssrc/licDump.ml
- src/structArrayExpand.ml 44 additions, 31 deletionssrc/structArrayExpand.ml
- src/test/Makefile 16 additions, 0 deletionssrc/test/Makefile
- src/test/should_work/Pascal/newpacks.lus 1 addition, 1 deletionsrc/test/should_work/Pascal/newpacks.lus
- src/test/test.res.exp 110 additions, 110 deletionssrc/test/test.res.exp
- src/unifyType.ml 2 additions, 1 deletionsrc/unifyType.ml
Loading
Please register or sign in to comment