]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Remove extraneous commas.
authorBruno Haible <bruno@clisp.org>
Wed, 12 Sep 2001 12:15:34 +0000 (12:15 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 12 Sep 2001 12:15:34 +0000 (12:15 +0000)
src/ChangeLog
src/x-c.h
src/x-po.h

index e0febc3205f8229f66c84f8f228ceb02fe480775..520bdde1b126bc5495fd07e01faefc8f3e3d4fbd 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-03  Bruno Haible  <haible@clisp.cons.org>
+
+       * x-c.h (EXTENSIONS_C, SCANNERS_C): Remove extraneous commas.
+       * x-po.h (EXTENSIONS_PO, SCANNERS_PO): Likewise.
+
 2001-09-11  Bruno Haible  <haible@clisp.cons.org>
 
        * xgettext.c: Set msgstr_prefix to "", not NULL.
index fe471d7d852d5e238d69a52ecb385eb61c69a0af..bc53148955114f308bc03e1fb16bfd55ba031f52 100644 (file)
--- a/src/x-c.h
+++ b/src/x-c.h
 
 
 #define EXTENSIONS_C \
-  { "c",      "C",    },                                               \
-  { "h",      "C",    },                                               \
-  { "C",      "C++",  },                                               \
-  { "c++",    "C++",  },                                               \
-  { "cc",     "C++",  },                                               \
-  { "cxx",    "C++",  },                                               \
-  { "cpp",    "C++",  },                                               \
-  { "hh",     "C++",  },                                               \
-  { "hpp",    "C++",  },                                               \
+  { "c",      "C"     },                                               \
+  { "h",      "C"     },                                               \
+  { "C",      "C++"   },                                               \
+  { "c++",    "C++"   },                                               \
+  { "cc",     "C++"   },                                               \
+  { "cxx",    "C++"   },                                               \
+  { "cpp",    "C++"   },                                               \
+  { "hh",     "C++"   },                                               \
+  { "hpp",    "C++"   },                                               \
   { "m",      "ObjectiveC" },                                          \
 
 #define SCANNERS_C \
-  { "C",          scan_c_file, &formatstring_c, },                     \
-  { "C++",        scan_c_file, &formatstring_c, },                     \
-  { "ObjectiveC", scan_c_file, &formatstring_c, },                     \
+  { "C",          scan_c_file, &formatstring_c },                      \
+  { "C++",        scan_c_file, &formatstring_c },                      \
+  { "ObjectiveC", scan_c_file, &formatstring_c },                      \
 
 /* Scan a C/C++/ObjectiveC file and add its translatable strings to mdlp.  */
 extern void extract_c PARAMS ((FILE *fp, const char *real_filename,
index f0ba70513885072ee00ef9c60a9674bbc740dbfb..b70ba39dab60a15c123596011291601788599cc3 100644 (file)
 
 
 #define EXTENSIONS_PO \
-  { "po",     "PO",   },                                               \
-  { "pot",    "PO",   },                                               \
+  { "po",     "PO"    },                                               \
+  { "pot",    "PO"    },                                               \
 
 #define SCANNERS_PO \
-  { "PO", scan_po_file, NULL, },                                       \
+  { "PO", scan_po_file, NULL },                                                \
 
 /* Scan a PO file and add its translatable strings to mdlp.  */
 extern void extract_po PARAMS ((FILE *fp, const char *real_filename,