diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/cppfiles.c | 2 | ||||
-rw-r--r-- | gcc/cpphash.h | 2 | ||||
-rw-r--r-- | gcc/cpplib.h | 2 | ||||
-rw-r--r-- | gcc/cppmacro.c | 4 | ||||
-rw-r--r-- | gcc/mkdeps.h | 2 |
6 files changed, 14 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fdf4f96..e68b2b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index cd6fd6c..ceb6413 100644 --- a/gcc/cppfiles.c +++ b/gcc/cppfiles.c @@ -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, diff --git a/gcc/cpphash.h b/gcc/cpphash.h index 388d5c8..32fa1aa 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -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. */ diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 7e9c5d5..aad2841 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -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. */ diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 893dd21..2b9c9b5 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -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 diff --git a/gcc/mkdeps.h b/gcc/mkdeps.h index 2be8f81..6054a56 100644 --- a/gcc/mkdeps.h +++ b/gcc/mkdeps.h @@ -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 |