summaryrefslogtreecommitdiff
path: root/gcc/config/c4x/c4x-c.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-11-26 14:31:12 -0800
committerRichard Henderson <rth@gcc.gnu.org>2005-11-26 14:31:12 -0800
commit75ce3d489ce44d6eeb8e59d88d76eb6d4682bbd1 (patch)
tree5703faf1ece630500fe3307d28bde4060c47e721 /gcc/config/c4x/c4x-c.c
parent37d3243dadc9c18a234d04716873b717efa93ae8 (diff)
downloadgcc-75ce3d489ce44d6eeb8e59d88d76eb6d4682bbd1.tar.gz
c-lex.c (pragma_lex): Rename from c_lex.
* c-lex.c (pragma_lex): Rename from c_lex. * c-pch.c: Update for pragma_lex rename. * c-pragma.c, c-pragma.h, config/ia64/ia64-c.c: Likewise. * config/m32c/m32c-pragma.c, config/darwin-c.c: Likewise. * config/rs6000/rs6000-c.c, config/c4x/c4x-c.c: Likewise. * config/sol2-c.c, config/v850/v850-c.c: Likewise. * doc/tm.texi: Likewise. cp/ * lex.c: Update for pragma_lex rename. * parser.c: Likewise. From-SVN: r107544
Diffstat (limited to 'gcc/config/c4x/c4x-c.c')
-rw-r--r--gcc/config/c4x/c4x-c.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/c4x/c4x-c.c b/gcc/config/c4x/c4x-c.c
index fe3a9222981..d0de53ae020 100644
--- a/gcc/config/c4x/c4x-c.c
+++ b/gcc/config/c4x/c4x-c.c
@@ -68,25 +68,25 @@ c4x_parse_pragma (name, func, sect)
{
tree f, s, x;
- if (c_lex (&x) != CPP_OPEN_PAREN)
+ if (pragma_lex (&x) != CPP_OPEN_PAREN)
BAD ("missing '(' after '#pragma %s' - ignored", name);
- if (c_lex (&f) != CPP_NAME)
+ if (pragma_lex (&f) != CPP_NAME)
BAD ("missing function name in '#pragma %s' - ignored", name);
if (sect)
{
- if (c_lex (&x) != CPP_COMMA)
+ if (pragma_lex (&x) != CPP_COMMA)
BAD ("malformed '#pragma %s' - ignored", name);
- if (c_lex (&s) != CPP_STRING)
+ if (pragma_lex (&s) != CPP_STRING)
BAD ("missing section name in '#pragma %s' - ignored", name);
*sect = s;
}
- if (c_lex (&x) != CPP_CLOSE_PAREN)
+ if (pragma_lex (&x) != CPP_CLOSE_PAREN)
BAD ("missing ')' for '#pragma %s' - ignored", name);
- if (c_lex (&x) != CPP_EOF)
+ if (pragma_lex (&x) != CPP_EOF)
warning (OPT_Wpragmas, "junk at end of '#pragma %s'", name);
*func = f;