Commit 48c4721e by Martin Schaffner Committed by Neil Booth

cppfiles.c: Clarify comments.

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

From-SVN: r68496
parent f18754d6
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> 2003-06-25 Neil Booth <neil@daikokuya.co.uk>
* c-opts.c (complain_wrong_lang, write_langs): Remove. * c-opts.c (complain_wrong_lang, write_langs): Remove.
......
...@@ -741,7 +741,7 @@ _cpp_execute_include (cpp_reader *pfile, const char *fname, int angle_brackets, ...@@ -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 /* 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. */ newer, return 1, otherwise 0. */
int int
_cpp_compare_file_date (cpp_reader *pfile, const char *fname, _cpp_compare_file_date (cpp_reader *pfile, const char *fname,
......
...@@ -392,7 +392,7 @@ struct cpp_reader ...@@ -392,7 +392,7 @@ struct cpp_reader
list of recognized pragmas. */ list of recognized pragmas. */
struct pragma_entry *pragmas; struct pragma_entry *pragmas;
/* Call backs. */ /* Call backs to cpplib client. */
struct cpp_callbacks cb; struct cpp_callbacks cb;
/* Identifier hash table. */ /* Identifier hash table. */
......
...@@ -371,7 +371,7 @@ struct cpp_options ...@@ -371,7 +371,7 @@ struct cpp_options
unsigned char stdc_0_in_system_headers; unsigned char stdc_0_in_system_headers;
}; };
/* Call backs. */ /* Call backs to cpplib client. */
struct cpp_callbacks struct cpp_callbacks
{ {
/* Called when a new line of preprocessed output is started. */ /* Called when a new line of preprocessed output is started. */
......
...@@ -1038,9 +1038,9 @@ _cpp_pop_context (cpp_reader *pfile) ...@@ -1038,9 +1038,9 @@ _cpp_pop_context (cpp_reader *pfile)
pfile->context = context->prev; 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 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, Macro expansions and directives are transparently handled,
including entering included files. Thus tokens are post-macro including entering included files. Thus tokens are post-macro
......
...@@ -39,7 +39,7 @@ extern void deps_free PARAMS ((struct deps *)); ...@@ -39,7 +39,7 @@ extern void deps_free PARAMS ((struct deps *));
extern void deps_add_target PARAMS ((struct deps *, const char *, int)); extern void deps_add_target PARAMS ((struct deps *, const char *, int));
/* Sets the default target if none has been given already. An empty /* 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 *)); extern void deps_add_default_target PARAMS ((struct deps *, const char *));
/* Add a dependency (appears on the right side of the colon) to the /* Add a dependency (appears on the right side of the colon) to the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment