diff options
author | Richard Henderson <rth@redhat.com> | 2005-11-26 14:31:12 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-11-26 14:31:12 -0800 |
commit | 75ce3d489ce44d6eeb8e59d88d76eb6d4682bbd1 (patch) | |
tree | 5703faf1ece630500fe3307d28bde4060c47e721 /gcc/doc/tm.texi | |
parent | 37d3243dadc9c18a234d04716873b717efa93ae8 (diff) | |
download | gcc-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/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index b736855..35bd5c3 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -9160,7 +9160,7 @@ pragma of the form @code{NULL} to put the pragma in the global namespace. The callback routine receives @var{pfile} as its first argument, which can be passed on to cpplib's functions if necessary. You can lex tokens after the -@var{name} by calling @code{c_lex}. Tokens that are not read by the +@var{name} by calling @code{pragma_lex}. Tokens that are not read by the callback will be silently ignored. The end of the line is indicated by a token of type @code{CPP_EOF}. Macro expansion occurs on the arguments of pragmas registered with @@ -9170,15 +9170,15 @@ pragmas registered with @code{c_register_pragma}. For an example use of this routine, see @file{c4x.h} and the callback routines defined in @file{c4x-c.c}. -Note that the use of @code{c_lex} is specific to the C and C++ +Note that the use of @code{pragma_lex} is specific to the C and C++ compilers. It will not work in the Java or Fortran compilers, or any -other language compilers for that matter. Thus if @code{c_lex} is going +other language compilers for that matter. Thus if @code{pragma_lex} is going to be called from target-specific code, it must only be done so when building the C and C++ compilers. This can be done by defining the variables @code{c_target_objs} and @code{cxx_target_objs} in the target entry in the @file{config.gcc} file. These variables should name the target-specific, language-specific object file which contains the -code that uses @code{c_lex}. Note it will also be necessary to add a +code that uses @code{pragma_lex}. Note it will also be necessary to add a rule to the makefile fragment pointed to by @code{tmake_file} that shows how to build this object file. @end deftypefun |