From: Bruno Haible Date: Wed, 12 Sep 2001 12:15:34 +0000 (+0000) Subject: Remove extraneous commas. X-Git-Tag: v0.11~504 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac1431e0d99f4dea88bd6b6d27fbcbdebf39052f;p=thirdparty%2Fgettext.git Remove extraneous commas. --- diff --git a/src/ChangeLog b/src/ChangeLog index e0febc320..520bdde1b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-09-03 Bruno Haible + + * x-c.h (EXTENSIONS_C, SCANNERS_C): Remove extraneous commas. + * x-po.h (EXTENSIONS_PO, SCANNERS_PO): Likewise. + 2001-09-11 Bruno Haible * xgettext.c: Set msgstr_prefix to "", not NULL. diff --git a/src/x-c.h b/src/x-c.h index fe471d7d8..bc5314895 100644 --- a/src/x-c.h +++ b/src/x-c.h @@ -18,21 +18,21 @@ #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, diff --git a/src/x-po.h b/src/x-po.h index f0ba70513..b70ba39da 100644 --- a/src/x-po.h +++ b/src/x-po.h @@ -18,11 +18,11 @@ #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,