diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-10-02 12:57:24 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-10-02 12:57:24 +0000 |
commit | 644eddaac53831b51967cea591f0bdf3b5e770a7 (patch) | |
tree | 255137e6966135d2fff952402170da9491a088d4 /gcc/cppmain.c | |
parent | 9d19cb9582b17accc88c77131b11095ce14199bd (diff) | |
download | gcc-644eddaac53831b51967cea591f0bdf3b5e770a7.zip gcc-644eddaac53831b51967cea591f0bdf3b5e770a7.tar.gz gcc-644eddaac53831b51967cea591f0bdf3b5e770a7.tar.bz2 |
cpphash.h: Update comments.
* cpphash.h: Update comments.
(cpp_context): Update.
(spec_nodes): Remove n__Pragma.
* cppinit.c (cpp_create_reader): Update.
(builtin_array): Add _Pragma.
* cpplib.h: Update comments.
(NODE_DISABLED, BT_PRAGMA): New.
(cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
* cppmacro.c (struct cpp_macro): Remove disabled.
(builtin_macro): Return int, handle _Pragma, push the new token
on the context stack.
(funlike_invocation_p): Unconstify, update.
(enter_macro_context): Handle builtins here.
(replace_args, push_token_context, push_ptoken_context):
Update for prototype changes.
(_cpp_pop_context): Update.
(cpp_get_token): Don't handle buitins, nor _Pragma here.
(cpp_sys_macro_p): Update.
(_cpp_free_definition): Clear disabled flag.
(_cpp_create_definition): Upate.
* cppmain.c: Update comments.
From-SVN: r45948
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r-- | gcc/cppmain.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c index a1b8b67..6d41af7 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -215,8 +215,8 @@ setup_callbacks () } } -/* Writes out the preprocessed file. Alternates between two tokens, - so that we can avoid accidental token pasting. */ +/* Writes out the preprocessed file, handling spacing and paste + avoidance issues. */ static void scan_translation_unit (pfile) cpp_reader *pfile; @@ -334,7 +334,7 @@ print_line (map, line, special_flags) } /* Called when a line of output is started. TOKEN is the first token - of the line, and maybe be CPP_EOF. */ + of the line, and may be CPP_EOF. */ static void cb_line_change (pfile, token, parsing_args) |