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
bc22fa98
Commit
bc22fa98
authored
Jul 24, 1998
by
Jason Merrill
Committed by
Jason Merrill
Jul 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parse.y (nested_name_specifier_1): Pull out the TYPE_MAIN_VARIANT.
From-SVN: r21364
parent
d1fec180
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
gcc/cp/ChangeLog
+2
-0
gcc/cp/parse.c
+1
-1
gcc/cp/parse.y
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
bc22fa98
1998-07-24 Jason Merrill <jason@yorick.cygnus.com>
* parse.y (nested_name_specifier_1): Pull out the TYPE_MAIN_VARIANT.
* pt.c (coerce_template_parms): Also complain about local enums.
* cp-tree.h: Add prototype for set_identifier_local_value.
...
...
gcc/cp/parse.c
View file @
bc22fa98
...
...
@@ -6796,7 +6796,7 @@ case 623:
&&
!
IDENTIFIER_CLASS_VALUE
(
yyvsp
[
-
1
].
ttype
))
pushdecl_class_level
(
yyval
.
ttype
);
}
got_scope
=
yyval
.
ttype
=
T
REE_TYPE
(
yyval
.
ttype
);
got_scope
=
yyval
.
ttype
=
T
YPE_MAIN_VARIANT
(
TREE_TYPE
(
yyval
.
ttype
)
);
;
break
;}
case
624
:
...
...
gcc/cp/parse.y
View file @
bc22fa98
...
...
@@ -2897,7 +2897,7 @@ nested_name_specifier_1:
&& ! IDENTIFIER_CLASS_VALUE ($1))
pushdecl_class_level ($$);
}
got_scope = $$ = T
REE_TYPE ($$
);
got_scope = $$ = T
YPE_MAIN_VARIANT (TREE_TYPE ($$)
);
}
| SELFNAME SCOPE
{
...
...
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