diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-04-11 08:29:34 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-04-11 08:29:34 +0000 |
commit | 3a2b2c7a2062986f770f9860da7499850a5539cf (patch) | |
tree | 93c98a7c646d78b47d835793796c2fccda85d151 /gcc/cppexp.c | |
parent | 6d8c68df389affd52c1bee1f5d7da04b423dfc7b (diff) | |
download | gcc-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/cppexp.c')
-rw-r--r-- | gcc/cppexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c index 3179099..46757c5 100644 --- a/gcc/cppexp.c +++ b/gcc/cppexp.c @@ -343,7 +343,7 @@ parse_defined (pfile) { int paren = 0, len; U_CHAR *tok; - enum cpp_token token; + enum cpp_ttype token; struct operation op; long old_written = CPP_WRITTEN (pfile); @@ -413,7 +413,7 @@ lex (pfile, skip_evaluation) int skip_evaluation; { const struct token *toktab; - enum cpp_token token; + enum cpp_ttype token; struct operation op; U_CHAR *tok_start, *tok_end; long old_written; |