glr2.cc: start the transition to using symbol_type