Mercurial > hg > CbC > CbC_gcc
diff gcc/c/c-parser.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line diff
--- a/gcc/c/c-parser.h Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/c/c-parser.h Thu Oct 25 07:37:49 2018 +0900 @@ -1,5 +1,5 @@ /* Declarations for the parser for C and Objective-C. - Copyright (C) 1987-2017 Free Software Foundation, Inc. + Copyright (C) 1987-2018 Free Software Foundation, Inc. Parser actions based on the old Bison parser; structure somewhat influenced by and fragments based on the C++ parser. @@ -155,6 +155,9 @@ extern bool c_parser_error (c_parser *parser); extern void c_parser_set_error (c_parser *parser, bool); +/* A bit of a hack to have this here. It would be better in a c-decl.h. */ +extern bool old_style_parameter_scope (void); + /* Return true if the next token from PARSER has the indicated TYPE. */ @@ -187,6 +190,6 @@ bool *seen_id); extern void c_parser_declspecs (c_parser *, struct c_declspecs *, bool, bool, bool, bool, bool, enum c_lookahead_kind); -extern struct c_type_name *c_parser_type_name (c_parser *); +extern struct c_type_name *c_parser_type_name (c_parser *, bool = false); #endif