About symtab.h, README file says not to modify symtab.h, and the assignment hand out for PA4 says we are free to modify symtab.h. Which is right?
You may change this file, by addition as long as you don’t change the interface of the current methods. Question: I am trying to use the STL map and list containers, but the globals defined in the STL are clashing with the globals in the AST and list.h. For instance there is a list constructor called plus, and an STL function called plus. It’s not feasible to go and change the names of variables in the tree. The only solution I have come up with is using namespaces to hide the globals of PA4 from the STL (I haven’t even gotten this to work yet), or to not use the STL. Is there any other way around this that you know?