summaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-31 01:05:27 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-31 01:05:27 +0000
commit9378baf488e02fc98f855d1f0e2e51f8f6d17840 (patch)
treeb023d49db07ada6ed8acdd43a455feda9aa960cf /gcc/objc
parentb099d3c55a0c5e952e3c025cf8fd9739cbbb1574 (diff)
downloadgcc-9378baf488e02fc98f855d1f0e2e51f8f6d17840.tar.gz
* c-parse.in (cast_expr): Move change from March 21 into c-parse.in
since it is used to generate c-parse.y. * objc-parse.c, objc-parse.y: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-parse.c8
-rw-r--r--gcc/objc/objc-parse.y2
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/objc/objc-parse.c b/gcc/objc/objc-parse.c
index 6d6679f7abd..d83adf26b30 100644
--- a/gcc/objc/objc-parse.c
+++ b/gcc/objc/objc-parse.c
@@ -1754,7 +1754,7 @@ static const short yycheck[] = { 56,
50, 51, 52, 53, 54, 55, 56, 57
};
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
-#line 3 "/usr/share/bison.simple"
+#line 3 "/usr/lib/bison.simple"
/* This file comes from bison-1.27. */
/* Skeleton output parser for bison,
@@ -1968,7 +1968,7 @@ __yy_memcpy (char *to, char *from, unsigned int count)
#endif
#endif
-#line 216 "/usr/share/bison.simple"
+#line 216 "/usr/lib/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
@@ -2589,7 +2589,7 @@ case 65:
else
name = "";
yyval.ttype = result;
- if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0)
+ if (TREE_CODE (type) == ARRAY_TYPE && !COMPLETE_TYPE_P (type))
{
int failure = complete_array_type (type, yyval.ttype, 1);
if (failure)
@@ -5091,7 +5091,7 @@ case 570:
break;}
}
/* the action file gets copied in in place of this dollarsign */
-#line 542 "/usr/share/bison.simple"
+#line 542 "/usr/lib/bison.simple"
yyvsp -= yylen;
yyssp -= yylen;
diff --git a/gcc/objc/objc-parse.y b/gcc/objc/objc-parse.y
index 3413a2cd6bc..29359e96fab 100644
--- a/gcc/objc/objc-parse.y
+++ b/gcc/objc/objc-parse.y
@@ -514,7 +514,7 @@ cast_expr:
else
name = "";
$$ = result;
- if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0)
+ if (TREE_CODE (type) == ARRAY_TYPE && !COMPLETE_TYPE_P (type))
{
int failure = complete_array_type (type, $$, 1);
if (failure)