cppfiles.c: Clarify comments.

* cppfiles.c: Clarify comments.
	* cpphash.h: Likewise.
	* cpplib.h: Likewise.
	* cppmacro.c: Likewise.
	* mkdeps.h: Likewise.

From-SVN: r68496
This commit is contained in:
Martin Schaffner 2003-06-25 23:01:10 +02:00 committed by Neil Booth
parent f18754d640
commit 48c4721eac
6 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,11 @@
2003-06-25 Martin Schaffner <schaffner@gmx.li>
* cppfiles.c: Clarify comments.
* cpphash.h: Likewise.
* cpplib.h: Likewise.
* cppmacro.c: Likewise.
* mkdeps.h: Likewise.
2003-06-25 Neil Booth <neil@daikokuya.co.uk>
* c-opts.c (complain_wrong_lang, write_langs): Remove.

View File

@ -741,7 +741,7 @@ _cpp_execute_include (cpp_reader *pfile, const char *fname, int angle_brackets,
}
/* Locate HEADER, and determine whether it is newer than the current
file. If it cannot be located or dated, return -1, if it is newer
file. If it cannot be located or dated, return -1, if it is
newer, return 1, otherwise 0. */
int
_cpp_compare_file_date (cpp_reader *pfile, const char *fname,

View File

@ -392,7 +392,7 @@ struct cpp_reader
list of recognized pragmas. */
struct pragma_entry *pragmas;
/* Call backs. */
/* Call backs to cpplib client. */
struct cpp_callbacks cb;
/* Identifier hash table. */

View File

@ -371,7 +371,7 @@ struct cpp_options
unsigned char stdc_0_in_system_headers;
};
/* Call backs. */
/* Call backs to cpplib client. */
struct cpp_callbacks
{
/* Called when a new line of preprocessed output is started. */

View File

@ -1038,9 +1038,9 @@ _cpp_pop_context (cpp_reader *pfile)
pfile->context = context->prev;
}
/* Eternal routine to get a token. Also used nearly everywhere
/* External routine to get a token. Also used nearly everywhere
internally, except for places where we know we can safely call
the lexer directly, such as lexing a directive name.
_cpp_lex_token directly, such as lexing a directive name.
Macro expansions and directives are transparently handled,
including entering included files. Thus tokens are post-macro

View File

@ -39,7 +39,7 @@ extern void deps_free PARAMS ((struct deps *));
extern void deps_add_target PARAMS ((struct deps *, const char *, int));
/* Sets the default target if none has been given already. An empty
string as the default target in interpreted as stdin. */
string as the default target is interpreted as stdin. */
extern void deps_add_default_target PARAMS ((struct deps *, const char *));
/* Add a dependency (appears on the right side of the colon) to the