This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Format checking: allowing width/precision with/without "*"
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 11 Jun 2003 15:18:52 +0100 (BST)
- Subject: Re: Format checking: allowing width/precision with/without "*"
- References: <200306111409.KAA26453@caip.rutgers.edu>
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