frankpfenning / C0

C0 Language
4 stars 0 forks source link

Coin printing for struct/pointer offset #13

Closed robsimmons closed 11 years ago

robsimmons commented 12 years ago

Special case needed in the coin printer

robsimmons commented 11 years ago

So this used to be fixed, but since the change to code isolation, coin uses the compiler's AST printer rather than the internal Coin language printer. However, it should always be safe in the C output to use e->f instead of (*e).f, so I can add this special case to the compiler.

robsimmons commented 11 years ago

Fixed in r132