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
de21c145
Commit
de21c145
authored
Apr 09, 2008
by
Volker Reichelt
Committed by
Volker Reichelt
Apr 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parser.c (cp_parser_template_parameter_list): Simplify.
From-SVN: r134126
parent
b72b0eba
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
gcc/cp/ChangeLog
+4
-0
gcc/cp/parser.c
+2
-5
No files found.
gcc/cp/ChangeLog
View file @
de21c145
2008-04-09 Volker Reichelt <v.reichelt@netcologne.de>
* parser.c (cp_parser_template_parameter_list): Simplify.
2008-04-07 James E. Wilson <wilson@tuliptree.org>
* pt.c (tsubst_copy, case SIZEOF_EXPR): Initialize len.
...
...
gcc/cp/parser.c
View file @
de21c145
...
...
@@ -9303,7 +9303,6 @@ cp_parser_template_parameter_list (cp_parser* parser)
while
(
true
)
{
tree
parameter
;
cp_token
*
token
;
bool
is_non_type
;
bool
is_parameter_pack
;
...
...
@@ -9324,10 +9323,8 @@ cp_parser_template_parameter_list (cp_parser* parser)
parameter_list
=
chainon
(
parameter_list
,
err_parm
);
}
/* Peek at the next token. */
token
=
cp_lexer_peek_token
(
parser
->
lexer
);
/* If it's not a `,', we're done. */
if
(
token
->
type
!=
CPP_COMMA
)
/* If the next token is not a `,', we're done. */
if
(
cp_lexer_next_token_is_not
(
parser
->
lexer
,
CPP_COMMA
))
break
;
/* Otherwise, consume the `,' token. */
cp_lexer_consume_token
(
parser
->
lexer
);
...
...
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