Don't translate syntax example.
From-SVN: r173564
This commit is contained in:
parent
61d6def5f8
commit
6d9e7c4139
@ -1,3 +1,7 @@
|
||||
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>
|
||||
|
||||
* 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,
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user