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
67b0763e
Commit
67b0763e
authored
May 11, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(nested_function, notype_nested_function): Allow old-style arg
definitions (use xdecls). From-SVN: r9628
parent
9a381dd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
gcc/c-parse.in
+6
-4
No files found.
gcc/c-parse.in
View file @
67b0763e
...
@@ -1193,8 +1193,9 @@ nested_function:
...
@@ -1193,8 +1193,9 @@ nested_function:
pop_c_function_context
();
pop_c_function_context
();
YYERROR1
;
YYERROR1
;
}
}
reinit_parse_for_function
();
reinit_parse_for_function
();
}
store_parm_decls
();
}
xdecls
{
store_parm_decls
();
}
/* This used to use compstmt_or_error.
/* This used to use compstmt_or_error.
That caused a bug with input `f(g) int g {}',
That caused a bug with input `f(g) int g {}',
where the use of YYERROR1 above caused an error
where the use of YYERROR1 above caused an error
...
@@ -1215,8 +1216,9 @@ notype_nested_function:
...
@@ -1215,8 +1216,9 @@ notype_nested_function:
pop_c_function_context
();
pop_c_function_context
();
YYERROR1
;
YYERROR1
;
}
}
reinit_parse_for_function
();
reinit_parse_for_function
();
}
store_parm_decls
();
}
xdecls
{
store_parm_decls
();
}
/* This used to use compstmt_or_error.
/* This used to use compstmt_or_error.
That caused a bug with input `f(g) int g {}',
That caused a bug with input `f(g) int g {}',
where the use of YYERROR1 above caused an error
where the use of YYERROR1 above caused an error
...
...
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