diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-26 22:31:12 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-26 22:31:12 +0000 |
commit | b5d533bbb765ddec5a4b0e712b83ed5a3a5d665a (patch) | |
tree | 5703faf1ece630500fe3307d28bde4060c47e721 /gcc/config/darwin-c.c | |
parent | 4df6b6e5554bcacf9c3eb681aabb51820c33a9f9 (diff) | |
download | gcc-b5d533bbb765ddec5a4b0e712b83ed5a3a5d665a.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107544 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin-c.c')
-rw-r--r-- | gcc/config/darwin-c.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/config/darwin-c.c b/gcc/config/darwin-c.c index d044deb709c..36b03c40fb4 100644 --- a/gcc/config/darwin-c.c +++ b/gcc/config/darwin-c.c @@ -102,17 +102,17 @@ darwin_pragma_options (cpp_reader *pfile ATTRIBUTE_UNUSED) const char *arg; tree t, x; - if (c_lex (&t) != CPP_NAME) + if (pragma_lex (&t) != CPP_NAME) BAD ("malformed '#pragma options', ignoring"); arg = IDENTIFIER_POINTER (t); if (strcmp (arg, "align")) BAD ("malformed '#pragma options', ignoring"); - if (c_lex (&t) != CPP_EQ) + if (pragma_lex (&t) != CPP_EQ) BAD ("malformed '#pragma options', ignoring"); - if (c_lex (&t) != CPP_NAME) + if (pragma_lex (&t) != CPP_NAME) BAD ("malformed '#pragma options', ignoring"); - if (c_lex (&x) != CPP_EOF) + if (pragma_lex (&x) != CPP_EOF) warning (0, "junk at end of '#pragma options'"); arg = IDENTIFIER_POINTER (t); @@ -134,19 +134,19 @@ darwin_pragma_unused (cpp_reader *pfile ATTRIBUTE_UNUSED) tree decl, x; int tok; - if (c_lex (&x) != CPP_OPEN_PAREN) + if (pragma_lex (&x) != CPP_OPEN_PAREN) BAD ("missing '(' after '#pragma unused', ignoring"); while (1) { - tok = c_lex (&decl); + tok = pragma_lex (&decl); if (tok == CPP_NAME && decl) { tree local = lookup_name (decl); if (local && (TREE_CODE (local) == PARM_DECL || TREE_CODE (local) == VAR_DECL)) TREE_USED (local) = 1; - tok = c_lex (&x); + tok = pragma_lex (&x); if (tok != CPP_COMMA) break; } @@ -155,7 +155,7 @@ darwin_pragma_unused (cpp_reader *pfile ATTRIBUTE_UNUSED) if (tok != CPP_CLOSE_PAREN) BAD ("missing ')' after '#pragma unused', ignoring"); - if (c_lex (&x) != CPP_EOF) + if (pragma_lex (&x) != CPP_EOF) warning (0, "junk at end of '#pragma unused'"); } |