diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-07-07 02:10:19 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-07-07 02:10:19 +0000 |
commit | fab922b1f55fe7766a375d0ee28a1c48f3185250 (patch) | |
tree | 75f96edfe80b6d74b595292cb3f885c6a8ade502 /gcc/c-lex.c | |
parent | 56131eb5a0492df3fd6421db599ed6f3b42545c6 (diff) | |
download | gcc-fab922b1f55fe7766a375d0ee28a1c48f3185250.zip gcc-fab922b1f55fe7766a375d0ee28a1c48f3185250.tar.gz gcc-fab922b1f55fe7766a375d0ee28a1c48f3185250.tar.bz2 |
c-lex.c: Replace %H by an explicit location.
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c-lex.c: Replace %H by an explicit location. Update all calls.
* c-common.c: Likewise.
* c-decl.c: Likewise.
* c-typeck.c: Likewise.
* fold-const.c: Likewise.
* gimplify.c: Likewise.
* stmt.c: Likewise.
* tree-cfg.c: Likewise.
* tree-ssa-loop-niter.c: Likewise.
* tree-vrp.c: Likewise.
* value-prof.c: Likewise.
java/
* jcf-parse.c: Replace %H by an explicit location. Update all calls.
objc/
* objc-act.c: Replace %H by an explicit location. Update all calls.
testsuite/
* gcc.dg/plugin/selfassign.c: Replace %H by an explicit
location. Update all calls.
* g++.dg/plugin/selfassign.c: Likewise.
From-SVN: r149310
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 66df4c4..0b6fcc0 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -264,8 +264,8 @@ cb_def_pragma (cpp_reader *pfile, source_location loc) name = cpp_token_as_text (pfile, s); } - warning (OPT_Wunknown_pragmas, "%Hignoring #pragma %s %s", - &fe_loc, space, name); + warning_at (fe_loc, OPT_Wunknown_pragmas, "ignoring #pragma %s %s", + space, name); } } @@ -379,7 +379,7 @@ c_lex_with_flags (tree *value, location_t *loc, unsigned char *cpp_flags, default: /* ... or not. */ - error ("%Hstray %<@%> in program", &atloc); + error_at (atloc, "stray %<@%> in program"); *loc = newloc; goto retry_after_at; } |