Mark ChangeLog
[official-gcc.git] / gcc / location.h
blob1864f29721be9e637d39dd57e6f3495c683a16a8
1 /* Definition of location data type used in various part of GCC
2 Copyright (C) 2002 Free Software Foundation, Inc.
3 Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
5 This program is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by the
7 Free Software Foundation; either version 2, or (at your option) any
8 later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 In other words, you are welcome to use, share and improve this program.
20 You are forbidden to forbid anyone else to use, share and improve
21 what you give them. Help stamp out software-hoarding! */
23 #ifndef GCC_LOCATION_H
24 #define GCC_LOCATION_H
26 /* The data structure used to record a location in a translation unit. */
27 struct location_s GTY (())
29 /* The name of the source file involved. */
30 const char *file;
32 /* The line-location in the source file. */
33 int line;
35 typedef struct location_s location_t;
37 #endif