mnbujold / c415-compiler

Fall 2012 CMPUT 415 Compiler Course
0 stars 3 forks source link

Operators type checking with TC_ERROR type #36

Open James-Osgood opened 11 years ago

James-Osgood commented 11 years ago

It appears that operators are still sometimes not checking if an operand is of type TC_ERROR and should be ignored rather than reported as an error.

James-Osgood commented 11 years ago

See test se05.pal.

James-Osgood commented 11 years ago

Fixed, but it would be better to be more granular (probably don't have time for that though) - currently just a single error type operand with make the entire expression an error constant.