]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Treat ObjectiveC like C and C++.
authorBruno Haible <bruno@clisp.org>
Thu, 2 Aug 2001 13:21:02 +0000 (13:21 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 2 Aug 2001 13:21:02 +0000 (13:21 +0000)
src/ChangeLog
src/xgettext.c

index 8beccd9d9057f530d65980e13d758478478673df..4dc2b44fe166aa02b5e089d50f1efb6bc8cdebc7 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-22  Bruno Haible  <haible@clisp.cons.org>
+
+       * xgettext.c (language_to_scanner): Add language "ObjectiveC".
+       (extension_to_language): Map extension "m" to "ObjectiveC".
+
 2001-07-22  Bruno Haible  <haible@clisp.cons.org>
 
        Make msgcomm work with multidomain input and different encodings.
index fda37e9959889eebd032b9459ea02bdf4fd80a9a..d7fbe9ea3333c97532d91984e7896afa9cbe5a7e 100644 (file)
@@ -1436,6 +1436,7 @@ language_to_scanner (name)
   {
     { "C", scan_c_file, },
     { "C++", scan_c_file, },
+    { "ObjectiveC", scan_c_file, },
     { "PO", read_po_file, },
     /* Here will follow more languages and their scanners: awk, perl,
        etc...  Make sure new scanners honor the --exlude-file option.  */
@@ -1474,6 +1475,7 @@ extension_to_language (extension)
     { "h",      "C",    },
     { "hh",     "C++",  },
     { "hpp",    "C++",  },
+    { "m",      "ObjectiveC" },
     { "po",     "PO",   },
     { "pot",    "PO",   },
     { "pox",    "PO",   },