mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
line-map.h (fileline): Remove old typedef.
* include/line-map.h (fileline): Remove old typedef. * internal.h (struct cpp_reader): Use source_location typedef instead. From-SVN: r83924
This commit is contained in:
parent
93409b8c45
commit
f58f7def26
@ -1,3 +1,8 @@
|
||||
2004-06-30 Per Bothner <per@bothner.com>
|
||||
|
||||
* include/line-map.h (fileline): Remove old typedef.
|
||||
* internal.h (struct cpp_reader): Use source_location typedef instead.
|
||||
|
||||
2004-06-26 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
Partially revert patch of 2004-06-05.
|
||||
|
@ -34,7 +34,6 @@ enum lc_reason {LC_ENTER = 0, LC_LEAVE, LC_RENAME};
|
||||
/* Long-term, we want to use this to replace struct location_s (in input.h),
|
||||
and effectively typedef source_location location_t. */
|
||||
typedef unsigned int source_location;
|
||||
typedef source_location fileline; /* deprecated name */
|
||||
|
||||
/* Physical source file TO_FILE at line TO_LINE at column 0 is represented
|
||||
by the logical START_LOCATION. TO_LINE+L at column C is represented by
|
||||
|
@ -308,7 +308,7 @@ struct cpp_reader
|
||||
struct line_maps *line_table;
|
||||
|
||||
/* The line of the '#' of the current directive. */
|
||||
fileline directive_line;
|
||||
source_location directive_line;
|
||||
|
||||
/* Memory buffers. */
|
||||
_cpp_buff *a_buff; /* Aligned permanent storage. */
|
||||
@ -421,7 +421,7 @@ struct cpp_reader
|
||||
uchar *base;
|
||||
uchar *limit;
|
||||
uchar *cur;
|
||||
fileline first_line;
|
||||
source_location first_line;
|
||||
} out;
|
||||
|
||||
/* Used for buffer overlays by cpptrad.c. */
|
||||
|
Loading…
Reference in New Issue
Block a user