diff options
author | Nicola Pero <nicola@gcc.gnu.org> | 2010-09-27 20:10:34 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-09-27 20:10:34 +0000 |
commit | cd3c99ba58a546485653315227d8ca4cf857c0aa (patch) | |
tree | 02b764ebdfd7809941732708d5df6dea5ce88b92 | |
parent | 93c0e0bb1d729b142f698d42fb4a61ad23a52505 (diff) | |
download | gcc-cd3c99ba58a546485653315227d8ca4cf857c0aa.zip gcc-cd3c99ba58a546485653315227d8ca4cf857c0aa.tar.gz gcc-cd3c99ba58a546485653315227d8ca4cf857c0aa.tar.bz2 |
Fixed typo in my last commit which would break bootstrap
From-SVN: r164667
-rw-r--r-- | gcc/objc/objc-act.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 101f9fc..2752833 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -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 identifier. */ - char *enc = obstack_base (&util_obstack) + curtype; - if (memchr (enc, '=', - obstack_object_size (&util_obstack) - curtype) == NULL) - { - /* We are not inside a struct. Encode the array as a - pointer. */ - encode_pointer (type, curtype, format); - return; - } + { + char *enc = obstack_base (&util_obstack) + curtype; + if (memchr (enc, '=', + obstack_object_size (&util_obstack) - curtype) == NULL) + { + /* We are not inside a struct. Encode the array as a + pointer. */ + encode_pointer (type, curtype, format); + return; + } + } /* Else, we are in a struct, and we encode it as a zero-length array. */ |