Commit 6d9e7c41 by Philipp Thomas Committed by Philipp Thomas

Don't translate syntax example.

From-SVN: r173564
parent 61d6def5
2011-05-04 Philipp Thomas <pth@suse.de>
* config/mep/mep.c (mep_validate_vliw): Syntax description
should not be translated.
2011-05-09 Joseph Myers <joseph@codesourcery.com> 2011-05-09 Joseph Myers <joseph@codesourcery.com>
* config/mips/genopt.sh, config/mips/mips-cpus.def: New files. * config/mips/genopt.sh, config/mips/mips-cpus.def: New files.
......
...@@ -4122,16 +4122,18 @@ mep_validate_vliw (tree *node, tree name, tree args ATTRIBUTE_UNUSED, ...@@ -4122,16 +4122,18 @@ mep_validate_vliw (tree *node, tree name, tree args ATTRIBUTE_UNUSED,
if (TREE_CODE (*node) == POINTER_TYPE if (TREE_CODE (*node) == POINTER_TYPE
&& !gave_pointer_note) && !gave_pointer_note)
{ {
inform (input_location, "to describe a pointer to a VLIW function, use syntax like this:"); inform (input_location,
inform (input_location, " typedef int (__vliw *vfuncptr) ();"); "to describe a pointer to a VLIW function, use syntax like this:\n%s",
" typedef int (__vliw *vfuncptr) ();");
gave_pointer_note = 1; gave_pointer_note = 1;
} }
if (TREE_CODE (*node) == ARRAY_TYPE if (TREE_CODE (*node) == ARRAY_TYPE
&& !gave_array_note) && !gave_array_note)
{ {
inform (input_location, "to describe an array of VLIW function pointers, use syntax like this:"); inform (input_location,
inform (input_location, " typedef int (__vliw *vfuncptr[]) ();"); "to describe an array of VLIW function pointers, use syntax like this:\n%s",
" typedef int (__vliw *vfuncptr[]) ();");
gave_array_note = 1; gave_array_note = 1;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment