This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix obsolete comment


For all the time a libcpp/ChangeLog has been kept there has been no mention of
a function cpp_reader_init.  This fixes a comment in cpplib.h which refers to it.

Committed as obviously correct after verifying that the build still completes.

- Tobi

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libcpp/ChangeLog,v
retrieving revision 1.47
diff -u -p -r1.47 ChangeLog
--- ChangeLog   4 Jan 2005 02:13:40 -0000       1.47
+++ ChangeLog   11 Jan 2005 18:16:29 -0000
@@ -1,3 +1,7 @@
+2005-01-11  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       * include/cpplib.h (c_lang): Fix comment to say cpp_create_reader.
+
 2005-01-03  Geoffrey Keating  <geoffk@apple.com>

        * files.c (_cpp_find_file): Add files found by search_path_exhausted
Index: include/cpplib.h
===================================================================
RCS file: /cvs/gcc/gcc/libcpp/include/cpplib.h,v
retrieving revision 1.6
diff -u -p -r1.6 cpplib.h
--- include/cpplib.h    23 Nov 2004 23:25:40 -0000      1.6
+++ include/cpplib.h    11 Jan 2005 18:16:29 -0000
@@ -152,7 +152,7 @@ enum cpp_ttype
 #undef OP
 #undef TK

-/* C language kind, used when calling cpp_reader_init.  */
+/* C language kind, used when calling cpp_create_reader.  */
 enum c_lang {CLK_GNUC89 = 0, CLK_GNUC99, CLK_STDC89, CLK_STDC94, CLK_STDC99,
             CLK_GNUCXX, CLK_CXX98, CLK_ASM};


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]