Re: [PATCH/RFA] Do not emit "field_type" var if not needed on "maint print c-tdesc"

Yao Qi
2017-12-21T09:10:50Z

Simon Marchi <simon.marchi@ericsson.com> writes:

> A simpler way would be to emit the field lazily when we actually need it, see patch
> below for an example. There's a bit more collateral damage in the generated files,
> since some declarations change place. We would need to do the same for the other
> variable declarations.

Yes, your patch in target-descriptions.c is simpler. The patch is good
to me.

--
Yao (齐尧)