aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2000-10-17 19:16:15 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2000-10-17 19:16:15 +0100
commitb691cb00a8cea18c8fd5df1570c2b8ad071c00a0 (patch)
treee8f510f35a6c8d73058c0718e5068f2b988418fd /gcc/java
parent948eab23d05176dc35b82b44340b043a903353a0 (diff)
downloadgcc-b691cb00a8cea18c8fd5df1570c2b8ad071c00a0.zip
gcc-b691cb00a8cea18c8fd5df1570c2b8ad071c00a0.tar.gz
gcc-b691cb00a8cea18c8fd5df1570c2b8ad071c00a0.tar.bz2
c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
* c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define. (format_types): Use it for printf. (maybe_read_dollar_number): Add parameter for the kind of format involved. Warn for multiple use for arguments if this is inappropriate for the kind of format involved. (check_format_info_main): Update calls to maybe_read_dollar_number. testsuite: * gcc.dg/format-xopen-1.c: Update comments; adjust for checking for multiple use of arguments with scanf formats; add tests for multiple use of arguments. From-SVN: r36905
Diffstat (limited to 'gcc/java')
0 files changed, 0 insertions, 0 deletions