mnbujold / c415-compiler

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

Built-ins are on two levels #23

Closed James-Osgood closed 11 years ago

James-Osgood commented 11 years ago

For some reason, the built-ins are spread between level -1 and level 0, thus reducing the number of levels of scope that we can support from 15 to 14.

dchui1 commented 11 years ago

This isn't for soem reason; it's by design. All the builtins are added to level -1, but program symbol and stuff are on level 0 Unless you mean some of the builtin functions are being added to level 0, in which case that is a bug

James-Osgood commented 11 years ago

That's what I mean: types, parameters, and some built-in procedures and functions are on level -1, but other built-in procedures and functions are on level 0.

dchui1 commented 11 years ago

Fixed.