* parse.y (nomods_initdcl0): Set up the parser stack correctly.

From-SVN: r22331
This commit is contained in:
Mumit Khan 1998-09-08 14:00:19 +00:00 committed by Jason Merrill
parent d3adbeea55
commit 5f5fc7ebfd
3 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,7 @@
1998-09-08 Mumit Khan <khan@xraylith.wisc.edu>
* parse.y (nomods_initdcl0): Set up the parser stack correctly.
1998-09-08 Mark Mitchell <mark@markmitchell.com>
* cp-tree.h (anonymous_namespace_name): Declare.

View file

@ -3593,7 +3593,7 @@ static const short yycheck[] = { 4,
77, 78, 79, 80, 81, 82, 83, 84
};
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
#line 3 "/usr/lib/bison.simple"
#line 3 "/usr/cygnus/gnupro-98r1/share/bison.simple"
/* Skeleton output parser for bison,
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
@ -3786,7 +3786,7 @@ __yy_memcpy (char *to, char *from, int count)
#endif
#endif
#line 196 "/usr/lib/bison.simple"
#line 196 "/usr/cygnus/gnupro-98r1/share/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 *.
@ -5813,7 +5813,7 @@ case 420:
case 421:
#line 1912 "parse.y"
{ /* Set things up as initdcl0_innards expects. */
yyval.ttype = yyvsp[-1].ttype;
yyvsp[0].ttype = yyvsp[-1].ttype;
yyvsp[-1].ttype = NULL_TREE; ;
break;}
case 422:
@ -7781,7 +7781,7 @@ case 870:
break;}
}
/* the action file gets copied in in place of this dollarsign */
#line 498 "/usr/lib/bison.simple"
#line 498 "/usr/cygnus/gnupro-98r1/share/bison.simple"
yyvsp -= yylen;
yyssp -= yylen;

View file

@ -1910,7 +1910,7 @@ notype_initdcl0:
nomods_initdcl0:
notype_declarator maybeasm
{ /* Set things up as initdcl0_innards expects. */
$<ttype>$ = $1;
$<ttype>2 = $1;
$1 = NULL_TREE; }
initdcl0_innards
{}