diagnostic.h: #include location.h
authorGabriel Dos Reis <gdr@codesourcery.com>
Wed, 10 Jul 2002 10:36:27 +0000 (10:36 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Wed, 10 Jul 2002 10:36:27 +0000 (10:36 +0000)
commite6986399dce0b228feb187326e67f08c8008e37c
tree798555e0df33e387c50ea2b5cb4819e17982e2e8
parent99248579810c9a0dba0daaf12d4a04892b9f52e9
diagnostic.h: #include location.h

* diagnostic.h: #include location.h
(location_t): Move definition to..
* location.h: ... here.  New file.
* tree.h: #include location.h
(DECL_SOURCE_LOCATION): New macro.
(DECL_SOURCE_FILE): Use.
(DECL_SOURCE_LINE): Likewise.
(struct tree_decl): REplace filename and linenum with locus.
* Makefile.in (TREE_H): add location.h
(diagnostic.o): Depends on gt-location.h
(gt-location.h): Depends on s-gtype

From-SVN: r55364
gcc/ChangeLog
gcc/Makefile.in
gcc/diagnostic.h
gcc/location.h [new file with mode: 0644]
gcc/tree.h