bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add .perl to the list of Perl extensions


From: Bruno Haible
Subject: Re: Add .perl to the list of Perl extensions
Date: Fri, 4 Jun 2010 00:42:27 +0200
User-agent: KMail/1.9.9

Hi,

Ævar Arnfjörð Bjarmason wrote:
> The EXTENSIONS_PERL define in gettext-tools/src/x-perl.h doesn't list
> .perl. The Git project uses it, it would be useful to include it as an
> extension xgettext knows about.

Thanks for the suggestions. I did not know that .perl was a common extension.
But I see a couple of file with this extension in Git.

I'm applying this:


2010-06-03  Bruno Haible  <address@hidden>

        xgettext: Recognize language of files ending in .perl.
        * x-perl.h (EXTENSIONS_PERL): Recognize .perl.
        Suggested by Ævar Arnfjörð Bjarmason <address@hidden>.

--- gettext-tools/src/x-perl.h.orig     Fri Jun  4 00:40:40 2010
+++ gettext-tools/src/x-perl.h  Fri Jun  4 00:39:28 2010
@@ -1,5 +1,5 @@
 /* xgettext Perl backend.
-   Copyright (C) 2002-2003, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2002-2003, 2006, 2010 Free Software Foundation, Inc.
    Written by Guido Flohr <address@hidden>, 2002-2003
 
    This program is free software: you can redistribute it and/or modify
@@ -31,6 +31,7 @@
   { "pl",    "perl"   },                                                \
   { "PL",    "perl"   },                                                \
   { "pm",    "perl"   },                                                \
+  { "perl",  "perl"   },                                                \
   { "cgi",   "perl"   },                                                \
 
 #define SCANNERS_PERL \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]