Fixed typo in my last commit which would break bootstrap

From-SVN: r164667
This commit is contained in:
Nicola Pero 2010-09-27 20:10:34 +00:00
parent 93c0e0bb1d
commit cd3c99ba58
1 changed files with 11 additions and 9 deletions

View File

@ -8136,6 +8136,7 @@ encode_array (tree type, int curtype, int format)
NB: This hack assumes that you can't use '=' as part of a C
identifier.
*/
{
char *enc = obstack_base (&util_obstack) + curtype;
if (memchr (enc, '=',
obstack_object_size (&util_obstack) - curtype) == NULL)
@ -8145,6 +8146,7 @@ encode_array (tree type, int curtype, int format)
encode_pointer (type, curtype, format);
return;
}
}
/* Else, we are in a struct, and we encode it as a zero-length
array. */