comparison libcpp/include/line-map.h @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents 77e2b8dfacca
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Map logical line numbers to (source file, line number) pairs. 1 /* Map logical line numbers to (source file, line number) pairs.
2 Copyright (C) 2001, 2003, 2004, 2007, 2008, 2009 2 Copyright (C) 2001, 2003, 2004, 2007, 2008, 2009, 2010
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5 This program is free software; you can redistribute it and/or modify it 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 6 under the terms of the GNU General Public License as published by the
7 Free Software Foundation; either version 3, or (at your option) any 7 Free Software Foundation; either version 3, or (at your option) any
37 37
38 /* The type of line numbers. */ 38 /* The type of line numbers. */
39 typedef unsigned int linenum_type; 39 typedef unsigned int linenum_type;
40 40
41 /* A logical line/column number, i.e. an "index" into a line_map. */ 41 /* A logical line/column number, i.e. an "index" into a line_map. */
42 /* Long-term, we want to use this to replace struct location_s (in input.h),
43 and effectively typedef source_location location_t. */
44 typedef unsigned int source_location; 42 typedef unsigned int source_location;
45 43
46 /* Memory allocation function typedef. Works like xrealloc. */ 44 /* Memory allocation function typedef. Works like xrealloc. */
47 typedef void *(*line_map_realloc) (void *, size_t); 45 typedef void *(*line_map_realloc) (void *, size_t);
48 46