#pragma gghc:yydebug support.
Copy base type from declaration to declarator.