How to take scope into account when building a symbol table with yacc?
My yacc parser creates a symbol table, but I need to take scope into account.  How would I do that?  I heard something about how when you exit a scope, the symbol table gets destroyed.  Still not very clear on how to do this.
How to take scope into account when building a symbol table with yacc?
===

My yacc parser creates a symbol table, but I need to take scope into account.  How would I do that?  I heard something about how when you exit a scope, the symbol table gets destroyed.  Still not very clear on how to do this.