hawkw / decaf

like Java, but less so
hawkweisman.me/decaf
Other
18 stars 4 forks source link

AST is on fire #64

Closed hawkw closed 9 years ago

hawkw commented 9 years ago

Sometimes, AST nodes are created that don't have parents, which screws up the compiler for obvious reasons (see the line on which it's caught).

This happens in code generation for while1.decaf, for1.decaf, for2.decaf, and for3.decaf. All of these programs would compile otherwise.