From: Philipp Thomas Date: Mon, 9 May 2011 10:42:23 +0000 (+0000) Subject: Don't translate syntax example. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d9e7c41392e812ac14837c025558b9ab381f614;p=gcc.git Don't translate syntax example. From-SVN: r173564 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6e0089d298a..e0d739f2cc0 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 60cf4ebff71..9b185994a18 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; } }