[LTP] [PATCH v2 5/7] docparse: Add type normalization
Cyril Hrubis
chrubis@suse.cz
Tue Nov 2 13:06:01 CET 2021
Hi!
> > - This code makes sure that we get right value parsed and aborts the
> > compilation if the parser got confused. This part is important since
> > if the testrunners are going to use the metadata the data in there
> > must be correct.
>
> I can't resist saying this would likely be solved by Sparse and its
> understanding of C types. However in the present context it makes
> perfect sense.
We would still have to check if we got right results, but yes, this is
one of the places where a proper parser would make things easier.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list