aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-04-11 08:29:34 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-04-11 08:29:34 +0000
commit3a2b2c7a2062986f770f9860da7499850a5539cf (patch)
tree93c98a7c646d78b47d835793796c2fccda85d151 /gcc/fix-header.c
parent6d8c68df389affd52c1bee1f5d7da04b423dfc7b (diff)
downloadgcc-3a2b2c7a2062986f770f9860da7499850a5539cf.zip
gcc-3a2b2c7a2062986f770f9860da7499850a5539cf.tar.gz
gcc-3a2b2c7a2062986f770f9860da7499850a5539cf.tar.bz2
cppexp.c, [...]: Replace cpp_token with cpp_ttype everywhere.
* 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. From-SVN: r33076
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 f6dae3a..35e7433 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 ... */