aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index 82f8aab..98bd94e 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -321,11 +321,11 @@ parse_defined (pfile)
/* Don't expand macros. */
pfile->state.prevent_expansion++;
- _cpp_get_token (pfile, &token);
+ cpp_get_token (pfile, &token);
if (token.type == CPP_OPEN_PAREN)
{
paren = 1;
- _cpp_get_token (pfile, &token);
+ cpp_get_token (pfile, &token);
}
if (token.type == CPP_NAME)
@@ -333,7 +333,7 @@ parse_defined (pfile)
node = token.val.node;
if (paren)
{
- _cpp_get_token (pfile, &token);
+ cpp_get_token (pfile, &token);
if (token.type != CPP_CLOSE_PAREN)
{
cpp_error (pfile, "missing ')' after \"defined\"");
@@ -378,13 +378,14 @@ lex (pfile, skip_evaluation, token)
{
struct op op;
- _cpp_get_token (pfile, token);
+ cpp_get_token (pfile, token);
switch (token->type)
{
case CPP_INT:
case CPP_NUMBER:
return parse_number (pfile, token);
+
case CPP_CHAR:
case CPP_WCHAR:
return parse_charconst (pfile, token);