aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2010-09-08 06:12:55 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2010-09-08 08:12:55 +0200
commit7370e0da63c435435889f8d752836a436ef476bf (patch)
tree2c841516224256edebe9f4583216e9213ec8260a /gcc/c-tree.h
parente0d4c0b3e5dd120db562995f8d3ba99885012c73 (diff)
downloadgcc-7370e0da63c435435889f8d752836a436ef476bf.zip
gcc-7370e0da63c435435889f8d752836a436ef476bf.tar.gz
gcc-7370e0da63c435435889f8d752836a436ef476bf.tar.bz2
c-tree.h, c-decl.c (build_enumerator): Add location parameter.
* c-tree.h, c-decl.c (build_enumerator): Add location parameter. * c-parser.c (c_parser_enum_specifier): Adjust call to build_enumerator. From-SVN: r163988
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r--gcc/c-tree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index a04d45c..ff349e3 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -427,7 +427,8 @@ extern int quals_from_declspecs (const struct c_declspecs *);
extern struct c_declarator *build_array_declarator (location_t, tree,
struct c_declspecs *,
bool, bool);
-extern tree build_enumerator (location_t, struct c_enum_contents *, tree, tree);
+extern tree build_enumerator (location_t, location_t, struct c_enum_contents *,
+ tree, tree);
extern tree check_for_loop_decls (location_t);
extern void mark_forward_parm_decls (void);
extern void declare_parm_level (void);