]> gcc.gnu.org Git - gcc.git/commit
c-common.c (scanf_flag_specs): Add flags ' and I.
authorJoseph Myers <jsm28@cam.ac.uk>
Thu, 12 Oct 2000 07:29:01 +0000 (08:29 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 12 Oct 2000 07:29:01 +0000 (08:29 +0100)
commit4831bc8477cc012c0be6c8da357537016877cd6a
tree3f02f20a32fcd6807d309ecbde7b43d4b9122daa
parent2f7026a014b970b927a12661ee9debe5ddb9458f
c-common.c (scanf_flag_specs): Add flags ' and I.

* c-common.c (scanf_flag_specs): Add flags ' and I.
(strftime_flag_pairs): Disallow any pair of the _, - and 0 flags,
or the ^ and # flags together.
(scan_char_table): Handle the ' and I flags.
(format_types): Add ' and I flags for scanf.

testsuite:
* gcc.dg/c99-scanf-2.c, gcc.dg/format-ext-2.c: Test ' and I
scanf flags.
* gcc.dg/format-ext-3.c: Test mutually exclusive pairs of strftime
flags.

From-SVN: r36842
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c99-scanf-2.c
gcc/testsuite/gcc.dg/format-ext-2.c
gcc/testsuite/gcc.dg/format-ext-3.c
This page took 0.054531 seconds and 5 git commands to generate.