aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mep
diff options
context:
space:
mode:
authorPhilipp Thomas <pth@suse.de>2011-05-09 10:42:23 +0000
committerPhilipp Thomas <pthomas@gcc.gnu.org>2011-05-09 10:42:23 +0000
commit6d9e7c41392e812ac14837c025558b9ab381f614 (patch)
tree9290f451df7512baf1d4534c2a2e498409307505 /gcc/config/mep
parent61d6def5f87750ec8a7c242b55bf37aacd2f71b1 (diff)
downloadgcc-6d9e7c41392e812ac14837c025558b9ab381f614.zip
gcc-6d9e7c41392e812ac14837c025558b9ab381f614.tar.gz
gcc-6d9e7c41392e812ac14837c025558b9ab381f614.tar.bz2
Don't translate syntax example.
From-SVN: r173564
Diffstat (limited to 'gcc/config/mep')
-rw-r--r--gcc/config/mep/mep.c10
1 files changed, 6 insertions, 4 deletions
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;
}
}