Format checking: allowing width/precision with/without "*"

Joseph S. Myers jsm28@cam.ac.uk
Wed Jun 11 15:42:00 GMT 2003


On Wed, 11 Jun 2003, Kaveh R. Ghazi wrote:

> I need to describe a format check which allows width/precision
> modifiers but only accepts hard values, not asterisks ("*").

Set width_type and precision_type to NULL, as indicated in the comment on
why there isn't a flag for this.

> Conversely, I also need to describe a format check which allows
> width/precision but _only_ accepts "*", not hard values.

This will need a new flag added, similar to the existing flag for whether
empty precision is OK.

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc mailing list