diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-10-17 20:39:13 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-10-17 20:39:13 +0000 |
commit | 51fabca55a83f4e2efad3cdccd6d312b06540c76 (patch) | |
tree | 2dae3af9c755abce804222d661e45bf3de77c4e0 /gcc/doc | |
parent | aa2a8516ce528253bf241f1730876c904823e469 (diff) | |
download | gcc-51fabca55a83f4e2efad3cdccd6d312b06540c76.tar.gz |
config.gcc: Update c4x and i370 for C front end-specific dependencies.
* config.gcc: Update c4x and i370 for C front end-specific
dependencies.
* config/c4x/c4x-c.c: New.
* config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
(code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
New declarations.
* config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
(code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
Make extern.
(c4x_init_pragma): Remove.
(c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
c4x_pr_ignored): Move to c4x-c.c.
* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
* config/c4x/t-c4x: Update.
* config/i370/i370-c.c: New.
* config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
(i370_pr_map): Move to i370-c.c.
* config/i370/t-i370: New.
* doc/tm.texi: Update.
From-SVN: r46322
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index c5863952802..227636f47a0 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -8514,12 +8514,13 @@ pragma of the form @var{space} is the case-sensitive namespace of the pragma, or @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. It may read any text after the -@var{name} by making calls to @code{c_lex}. Text which is not read by -the callback will be silently ignored. +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 +callback will be silently ignored. The end of the line is indicated by +a token of type @code{CPP_EOF}. For an example use of this routine, see @file{c4x.h} and the callback -routines defined in @file{c4x.c}. +routines defined in @file{c4x-c.c}. Note that the use of @code{c_lex} is specific to the C and C++ compilers. It will not work in the Java or Fortran compilers, or any |