Support %type <typ> TERMINAL. Fixes #1.

Affects goyacc. Users should recompile.