Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
5f5fc7eb
Commit
5f5fc7eb
authored
Sep 08, 1998
by
Mumit Khan
Committed by
Jason Merrill
Sep 08, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parse.y (nomods_initdcl0): Set up the parser stack correctly.
From-SVN: r22331
parent
d3adbeea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/cp/ChangeLog
+4
-0
gcc/cp/parse.c
+4
-4
gcc/cp/parse.y
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
5f5fc7eb
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>
1998-09-08 Mark Mitchell <mark@markmitchell.com>
* cp-tree.h (anonymous_namespace_name): Declare.
* cp-tree.h (anonymous_namespace_name): Declare.
...
...
gcc/cp/parse.c
View file @
5f5fc7eb
...
@@ -3593,7 +3593,7 @@ static const short yycheck[] = { 4,
...
@@ -3593,7 +3593,7 @@ static const short yycheck[] = { 4,
77
,
78
,
79
,
80
,
81
,
82
,
83
,
84
77
,
78
,
79
,
80
,
81
,
82
,
83
,
84
};
};
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
/* -*-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,
/* Skeleton output parser for bison,
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
...
@@ -3786,7 +3786,7 @@ __yy_memcpy (char *to, char *from, int count)
...
@@ -3786,7 +3786,7 @@ __yy_memcpy (char *to, char *from, int count)
#endif
#endif
#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
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
into yyparse. The argument should have type void *.
...
@@ -5813,7 +5813,7 @@ case 420:
...
@@ -5813,7 +5813,7 @@ case 420:
case
421
:
case
421
:
#line 1912 "parse.y"
#line 1912 "parse.y"
{
/* Set things up as initdcl0_innards expects. */
{
/* Set things up as initdcl0_innards expects. */
yyv
al
.
ttype
=
yyvsp
[
-
1
].
ttype
;
yyv
sp
[
0
]
.
ttype
=
yyvsp
[
-
1
].
ttype
;
yyvsp
[
-
1
].
ttype
=
NULL_TREE
;
;
yyvsp
[
-
1
].
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
422
:
case
422
:
...
@@ -7781,7 +7781,7 @@ case 870:
...
@@ -7781,7 +7781,7 @@ case 870:
break
;}
break
;}
}
}
/* the action file gets copied in in place of this dollarsign */
/* 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
;
yyvsp
-=
yylen
;
yyssp
-=
yylen
;
yyssp
-=
yylen
;
...
...
gcc/cp/parse.y
View file @
5f5fc7eb
...
@@ -1910,7 +1910,7 @@ notype_initdcl0:
...
@@ -1910,7 +1910,7 @@ notype_initdcl0:
nomods_initdcl0:
nomods_initdcl0:
notype_declarator maybeasm
notype_declarator maybeasm
{ /* Set things up as initdcl0_innards expects. */
{ /* Set things up as initdcl0_innards expects. */
$<ttype>
$
= $1;
$<ttype>
2
= $1;
$1 = NULL_TREE; }
$1 = NULL_TREE; }
initdcl0_innards
initdcl0_innards
{}
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment