aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmain.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/cppmain.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/cppmain.c')
-rw-r--r--gcc/cppmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index 43d4c7b..2e85ebf 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -39,7 +39,7 @@ main (argc, argv)
char *p;
cpp_reader *pfile = &parse_in;
int argi = 1; /* Next argument to handle. */
- enum cpp_token kind;
+ enum cpp_ttype kind;
FILE *out;
const char *out_fname;