summaryrefslogtreecommitdiffstats
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-11 08:29:34 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-11 08:29:34 +0000
commit82831e190cc383b5d4629a4a71d065afdc4d1155 (patch)
tree93c98a7c646d78b47d835793796c2fccda85d151 /gcc/fix-header.c
parent46f134c5f83c51246f280cd696efd731be679695 (diff)
downloadppe42-gcc-82831e190cc383b5d4629a4a71d065afdc4d1155.tar.gz
ppe42-gcc-82831e190cc383b5d4629a4a71d065afdc4d1155.zip
* cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace cpp_token with cpp_ttype everywhere. * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c: Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or CPP_BUF_COL. Line and column numbers are unsigned int, not long. * cpplex.c (cpp_buf_line_and_col): Delete. * cpplib.h (struct cpp_buffer, struct cpp_reader): Change 'long lineno' to 'unsigned int lineno'. (CPP_BUF_LINE, CPP_BUF_COL): New macros. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33076 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index f6dae3a8ffa..35e74339328 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -662,7 +662,7 @@ read_scan_file (in_fname, argc, argv)
/* Scan the macro expansion of "getchar();". */
for (;;)
{
- enum cpp_token token = cpp_get_token (&scan_in);
+ enum cpp_ttype token = cpp_get_token (&scan_in);
int length = CPP_WRITTEN (&scan_in) - old_written;
CPP_SET_WRITTEN (&scan_in, old_written);
if (token == CPP_EOF) /* Should not happen ... */
OpenPOWER on IntegriCloud