This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]