Adds the semantic exception
Refactoring the SymbolStack and Token