aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/objc/objc-next-runtime-abi-01.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index f87294b..39d0223 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,8 @@
+2017-11-30 Jakub Jelinek <jakub@redhat.com>
+
+ * objc-next-runtime-abi-01.c (generate_dispatch_table): Use ; instead
+ of ;;.
+
2017-11-10 Martin Sebor <msebor@redhat.com>
PR c/81117
diff --git a/gcc/objc/objc-next-runtime-abi-01.c b/gcc/objc/objc-next-runtime-abi-01.c
index 686d928..8c52afb 100644
--- a/gcc/objc/objc-next-runtime-abi-01.c
+++ b/gcc/objc/objc-next-runtime-abi-01.c
@@ -1662,7 +1662,7 @@ generate_dispatch_table (tree chain, const char *name, tree attr)
{
tree decl, method_list_template, initlist;
vec<constructor_elt, va_gc> *v = NULL;
- int size;;
+ int size;
if (!chain || !name || !(size = list_length (chain)))
return NULL_TREE;