add decl_type to symbol