Simplifying symbol table builder states and symbol references