diff options
author | Neil Booth <neilb@earthling.net> | 2000-09-25 22:34:53 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-09-25 22:34:53 +0000 |
commit | 7de4d00450a017b0edbbbf620dcfc5d9326f163c (patch) | |
tree | e04909d8f7efef588ecf5b034183af04dbc5316d /gcc/cpphash.h | |
parent | dcbd43e030914368ca0b5c089dc32cf8a208113d (diff) | |
download | gcc-7de4d00450a017b0edbbbf620dcfc5d9326f163c.zip gcc-7de4d00450a017b0edbbbf620dcfc5d9326f163c.tar.gz gcc-7de4d00450a017b0edbbbf620dcfc5d9326f163c.tar.bz2 |
cpphash.h (_cpp_digraph_spellings, [...]): New library-internal prototypes.
* cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
_cpp_can_paste): New library-internal prototypes.
* cpplex.c (dump_param_spelling, output_line_command,
output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
cpp_printf, cpp_output_list): Move to cppoutput.c.
(process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
* cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
cppoutput.c.
* cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
dump_param_spelling, output_line_command, cpp_scan_buffer,
cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
from elsewhere.
* Makefile.in: Add cppoutput.c.
* po/POTFILES.in: Add cppoutput.c.
From-SVN: r36634
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r-- | gcc/cpphash.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h index 8f569e7..fed1cf4 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -231,6 +231,7 @@ extern void _cpp_pop_file_buffer PARAMS ((cpp_reader *, cpp_buffer *)); extern int _cpp_parse_expr PARAMS ((cpp_reader *)); /* In cpplex.c */ +extern const unsigned char *_cpp_digraph_spellings[]; extern void _cpp_skip_rest_of_line PARAMS ((cpp_reader *)); extern void _cpp_free_temp_tokens PARAMS ((cpp_reader *)); extern void _cpp_init_input_buffer PARAMS ((cpp_reader *)); @@ -247,6 +248,7 @@ extern void _cpp_reserve_name_space PARAMS ((cpp_toklist *, unsigned int)); extern void _cpp_expand_name_space PARAMS ((cpp_toklist *, unsigned int)); extern int _cpp_equiv_tokens PARAMS ((const cpp_token *, const cpp_token *)); +extern void _cpp_process_directive PARAMS ((cpp_reader *, const cpp_token *)); extern void _cpp_run_directive PARAMS ((cpp_reader *, const struct directive *, const char *, size_t, @@ -257,6 +259,8 @@ extern const cpp_token *_cpp_get_token PARAMS ((cpp_reader *)); extern const cpp_token *_cpp_get_raw_token PARAMS ((cpp_reader *)); extern void _cpp_push_token PARAMS ((cpp_reader *, const cpp_token*)); extern const cpp_token *_cpp_glue_header_name PARAMS ((cpp_reader *)); +extern enum cpp_ttype _cpp_can_paste PARAMS ((cpp_reader *, const cpp_token *, + const cpp_token *, int *)); /* In cpplib.c */ extern const struct directive *_cpp_check_directive |