aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorBernardo Innocenti <bernie@develer.com>2004-07-26 02:29:41 +0200
committerBernardo Innocenti <bernie@gcc.gnu.org>2004-07-26 02:29:41 +0200
commitf408614568706ffddfbdfc7a947bb2f39a99d23a (patch)
tree39e65b533b3cd7a2843f3414e21c6d0d7ea6320e /gcc/c-lex.c
parent7d07a70e45d1c26f1b9b569d9faba6e793663cc5 (diff)
downloadgcc-f408614568706ffddfbdfc7a947bb2f39a99d23a.zip
gcc-f408614568706ffddfbdfc7a947bb2f39a99d23a.tar.gz
gcc-f408614568706ffddfbdfc7a947bb2f39a99d23a.tar.bz2
Makefile.in (C_PRAGMA_H): New variable to track dependencies of c-pragma.h.
* Makefile.in (C_PRAGMA_H): New variable to track dependencies of c-pragma.h. * c-pragma.h (c_lex, c_lex_with_flags): Change returntype to enum cpp_ttype. * c-lex.c: Likewise. From-SVN: r85174
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 091ec80..a730652 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -336,7 +336,7 @@ get_nonpadding_token (void)
return tok;
}
-int
+enum cpp_ttype
c_lex_with_flags (tree *value, unsigned char *cpp_flags)
{
const cpp_token *tok;
@@ -454,7 +454,7 @@ c_lex_with_flags (tree *value, unsigned char *cpp_flags)
return tok->type;
}
-int
+enum cpp_ttype
c_lex (tree *value)
{
return c_lex_with_flags (value, NULL);