mnbujold / c415-compiler

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

Type for Input and Output #13

Closed James-Osgood closed 11 years ago

James-Osgood commented 11 years ago

We need some sort of file types for the input and output variable in the program header.

mnbujold commented 11 years ago

Are these necessary, as they actually have no function in pal, and only exist to conform to the Pascal standard?

James-Osgood commented 11 years ago

They're just needed for type checking.

James-Osgood commented 11 years ago

Just added the file type_desc to symbol.h. Used for the input, output, and program name, because no one should ever touch these in the top level of scope.