OSDN Git Service

* cppfiles.c: Clarify comments.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jun 2003 21:01:10 +0000 (21:01 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jun 2003 21:01:10 +0000 (21:01 +0000)
* cpphash.h: Likewise.
* cpplib.h: Likewise.
* cppmacro.c: Likewise.
* mkdeps.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68496 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cppfiles.c
gcc/cpphash.h
gcc/cpplib.h
gcc/cppmacro.c
gcc/mkdeps.h

index fdf4f96..e68b2b1 100644 (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.
index cd6fd6c..ceb6413 100644 (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,
index 388d5c8..32fa1aa 100644 (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.  */
index 7e9c5d5..aad2841 100644 (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.  */
index 893dd21..2b9c9b5 100644 (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
index 2be8f81..6054a56 100644 (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