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
27f9a7c6
Commit
27f9a7c6
authored
Sep 22, 1998
by
Mark Mitchell
Committed by
Mark Mitchell
Sep 22, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parse.y (component_decl_list): Improve error-recovery.
From-SVN: r22551
parent
04ddee1b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/cp/ChangeLog
+4
-0
gcc/cp/parse.c
+0
-0
gcc/cp/parse.y
+2
-1
No files found.
gcc/cp/ChangeLog
View file @
27f9a7c6
1998-09-22 Mark Mitchell <mark@markmitchell.com>
* parse.y (component_decl_list): Improve error-recovery.
1998-09-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
1998-09-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
* decl.c (make_typename_type): Move error to point where name
* decl.c (make_typename_type): Move error to point where name
...
...
gcc/cp/parse.c
View file @
27f9a7c6
This diff is collapsed.
Click to expand it.
gcc/cp/parse.y
View file @
27f9a7c6
...
@@ -2402,7 +2402,8 @@ component_decl_list:
...
@@ -2402,7 +2402,8 @@ component_decl_list:
in this binding level. Make sure that the chain
in this binding level. Make sure that the chain
of what we're trying to add isn't the item itself
of what we're trying to add isn't the item itself
(which can happen with what pushdecl's doing). */
(which can happen with what pushdecl's doing). */
if ($2 != NULL_TREE && $2 != void_type_node)
if ($2 != NULL_TREE && $2 != void_type_node
&& $2 != error_mark_node)
{
{
if (TREE_CHAIN ($2) != $$)
if (TREE_CHAIN ($2) != $$)
$$ = chainon ($$, $2);
$$ = chainon ($$, $2);
...
...
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