X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fdiacrit.c;h=9a6b613451bdd274c9e4e2d12837a8821f9cbccf;hb=6f730e7ae5225bf9eb36554d94805b97a72784bd;hp=d6381248f79ddb620c318998cd8b89f7669c8c9f;hpb=5565019c0276c4c0d777f824dda5d200ecfed465;p=gnulib.git diff --git a/lib/diacrit.c b/lib/diacrit.c index d6381248f..9a6b61345 100644 --- a/lib/diacrit.c +++ b/lib/diacrit.c @@ -1,13 +1,26 @@ /* Diacritics processing for a few character codes. - Copyright (C) 1990, 1991, 1992, 1993, 2000 Free Software Foundation, Inc. - François Pinard , 1988. + + Copyright (C) 1990-1993, 2000, 2006, 2009-2010 Free Software Foundation, + Inc. + + François Pinard , 1988. All this file is a temporary hack, waiting for locales in GNU. -*/ -#ifdef HAVE_CONFIG_H -# include -#endif + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include #include "diacrit.h" @@ -16,7 +29,7 @@ /*--------------------------------------------------------------------. | For each alphabetic character, returns what it would be without its | -| possible diacritic symbol. | +| possible diacritic symbol. | `--------------------------------------------------------------------*/ const char diacrit_base[256] = @@ -82,9 +95,9 @@ const char diacrit_base[256] = /*------------------------------------------------------------------------. | For each alphabetic character, returns a code of what its diacritic is, | | according to the following codes: 1 (eE) over aA for latin diphtongs; 2 | -| (') acute accent; 3 (`) grave accent; 4 (^) circumflex accent; 5 (") | +| (') acute accent; 3 (`) grave accent; 4 (^) circumflex accent; 5 (") | | umlaut or diaraesis; 6 (~) tilda; 7 (,) cedilla; 8 (o) covering degree | -| symbol; 9 (|) slashed character. | +| symbol; 9 (|) slashed character. | `------------------------------------------------------------------------*/ const char diacrit_diac[256] =