aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2005-07-02 14:19:59 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2005-07-02 14:19:59 +0100
commitc85ce869e757158c55fd428befdb59ad5d537c1f (patch)
tree3339d42d6bdaab3f873b91e89993fa54cc7f96e7 /gcc/tree.c
parentdee158440e16ef7272d823b9bd5e6d414968fd8a (diff)
downloadgcc-c85ce869e757158c55fd428befdb59ad5d537c1f.zip
gcc-c85ce869e757158c55fd428befdb59ad5d537c1f.tar.gz
gcc-c85ce869e757158c55fd428befdb59ad5d537c1f.tar.bz2
c.opt, [...]: Remove "." from end of help texts.
* c.opt, common.opt, config/bfin/bfin.opt, config/pa/pa.opt, config/rs6000/rs6000.opt, params.def: Remove "." from end of help texts. * config/avr/avr.c: Do not use '`' as left quote. * config/rs6000/rs6000.c, config/s390/s390.c, opts.c, tree.c: Remove "." from end of diagnostics. Make diagnostics start with lowercase letter. cp: * name-lookup.c, parser.c: Use %q, %< and %> to quote in diagnostics. fortran: * lang.opt: Remove "." from end of help texts. objc: * objc-act.c: Use %q to quote in diagnostics. From-SVN: r101533
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 012bb6b..76f52cd 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -3368,7 +3368,7 @@ handle_dll_attribute (tree * pnode, tree name, tree args, int flags,
if (TREE_CODE (node) == FUNCTION_DECL && DECL_INITIAL (node)
&& !DECL_DECLARED_INLINE_P (node))
{
- error ("function %q+D definition is marked dllimport.", node);
+ error ("function %q+D definition is marked dllimport", node);
*no_add_attrs = true;
}
@@ -3376,7 +3376,7 @@ handle_dll_attribute (tree * pnode, tree name, tree args, int flags,
{
if (DECL_INITIAL (node))
{
- error ("variable %q+D definition is marked dllimport.",
+ error ("variable %q+D definition is marked dllimport",
node);
*no_add_attrs = true;
}
@@ -3397,7 +3397,7 @@ handle_dll_attribute (tree * pnode, tree name, tree args, int flags,
|| TREE_CODE (node) == FUNCTION_DECL))
{
error ("external linkage required for symbol %q+D because of "
- "%qs attribute.", node, IDENTIFIER_POINTER (name));
+ "%qs attribute", node, IDENTIFIER_POINTER (name));
*no_add_attrs = true;
}