aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorBernardo Innocenti <bernie@develer.com>2004-07-26 00:29:41 +0000
committerBernardo Innocenti <bernie@develer.com>2004-07-26 00:29:41 +0000
commite216a9eb355b933eb71df37df7f51dbe8f05da60 (patch)
tree39e65b533b3cd7a2843f3414e21c6d0d7ea6320e /gcc/c-lex.c
parent14ebf2ff4a1a32d2e171df5019584eb9d4251655 (diff)
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@85174 138bc75d-0d04-0410-961f-82ee72b054a4
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 091ec802d97..a730652d1fa 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);