Commit cd3c99ba by Nicola Pero

Fixed typo in my last commit which would break bootstrap

From-SVN: r164667
parent 93c0e0bb
...@@ -8136,15 +8136,17 @@ encode_array (tree type, int curtype, int format) ...@@ -8136,15 +8136,17 @@ encode_array (tree type, int curtype, int format)
NB: This hack assumes that you can't use '=' as part of a C NB: This hack assumes that you can't use '=' as part of a C
identifier. identifier.
*/ */
char *enc = obstack_base (&util_obstack) + curtype; {
if (memchr (enc, '=', char *enc = obstack_base (&util_obstack) + curtype;
obstack_object_size (&util_obstack) - curtype) == NULL) if (memchr (enc, '=',
{ obstack_object_size (&util_obstack) - curtype) == NULL)
/* We are not inside a struct. Encode the array as a {
pointer. */ /* We are not inside a struct. Encode the array as a
encode_pointer (type, curtype, format); pointer. */
return; encode_pointer (type, curtype, format);
} return;
}
}
/* Else, we are in a struct, and we encode it as a zero-length /* Else, we are in a struct, and we encode it as a zero-length
array. */ array. */
......
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