aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.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/cp/parser.c
parent37d3243dadc9c18a234d04716873b717efa93ae8 (diff)
downloadgcc-75ce3d489ce44d6eeb8e59d88d76eb6d4682bbd1.zip
gcc-75ce3d489ce44d6eeb8e59d88d76eb6d4682bbd1.tar.gz
gcc-75ce3d489ce44d6eeb8e59d88d76eb6d4682bbd1.tar.bz2
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/cp/parser.c')
-rw-r--r--gcc/cp/parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 5827e5e..0ea0f93 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -254,7 +254,7 @@ cp_lexer_new_main (void)
/* Tell cpplib we want CPP_PRAGMA tokens. */
cpp_get_options (parse_in)->defer_pragmas = true;
- /* Tell c_lex not to merge string constants. */
+ /* Tell pragma_lex not to merge string constants. */
c_lex_return_raw_strings = true;
c_common_no_more_pch ();
@@ -297,8 +297,8 @@ cp_lexer_new_main (void)
lexer->next_token = lexer->buffer_length ? buffer : (cp_token *)&eof_token;
/* Pragma processing (via cpp_handle_deferred_pragma) may result in
- direct calls to c_lex. Those callers all expect c_lex to do
- string constant concatenation. */
+ direct calls to pragma_lex. Those callers all expect pragma_lex
+ to do string constant concatenation. */
c_lex_return_raw_strings = false;
/* Subsequent preprocessor diagnostics should use compiler