From 516bc58f9fbc18e4493a5167a73b92712a687217 Mon Sep 17 00:00:00 2001 From: pthomas Date: Mon, 9 May 2011 10:42:23 +0000 Subject: [PATCH] Don't translate syntax example. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173564 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/config/mep/mep.c | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6e0089d..e0d739f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-05-04 Philipp Thomas + * config/mep/mep.c (mep_validate_vliw): Syntax description + should not be translated. + 2011-05-09 Joseph Myers * config/mips/genopt.sh, config/mips/mips-cpus.def: New files. diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c index 60cf4eb..9b18599 100644 --- a/gcc/config/mep/mep.c +++ b/gcc/config/mep/mep.c @@ -4122,16 +4122,18 @@ mep_validate_vliw (tree *node, tree name, tree args ATTRIBUTE_UNUSED, if (TREE_CODE (*node) == POINTER_TYPE && !gave_pointer_note) { - inform (input_location, "to describe a pointer to a VLIW function, use syntax like this:"); - inform (input_location, " typedef int (__vliw *vfuncptr) ();"); + inform (input_location, + "to describe a pointer to a VLIW function, use syntax like this:\n%s", + " typedef int (__vliw *vfuncptr) ();"); gave_pointer_note = 1; } if (TREE_CODE (*node) == ARRAY_TYPE && !gave_array_note) { - inform (input_location, "to describe an array of VLIW function pointers, use syntax like this:"); - inform (input_location, " typedef int (__vliw *vfuncptr[]) ();"); + inform (input_location, + "to describe an array of VLIW function pointers, use syntax like this:\n%s", + " typedef int (__vliw *vfuncptr[]) ();"); gave_array_note = 1; } } -- 2.7.4