From 869378a5bf1d415f52c14d9697b886d8143a73e1 Mon Sep 17 00:00:00 2001 From: "Ryan S. Arnold" Date: Wed, 5 Jun 2013 10:28:33 -0500 Subject: [PATCH] Add #include to locale/gen-translit.pl and fix C-translit.h. --- ChangeLog | 7 +++++++ locale/C-translit.h | 1 - locale/gen-translit.pl | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9a2a0c52ea..bda0096209 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-06-05 Ryan S. Arnold + + * locale/C-translit.h: Revert #include because this is a + generated file. Regenerate properly from gen-translit.pl. + * locale/gen-translit.pl: Add #include . This generates + locale/C-translit.h. + 2013-06-05 Andreas Schwab [BZ #15100] diff --git a/locale/C-translit.h b/locale/C-translit.h index 98f66e28fc..fdd4450050 100644 --- a/locale/C-translit.h +++ b/locale/C-translit.h @@ -1,5 +1,4 @@ #include - #define NTRANSLIT 1355 static const uint32_t translit_from_idx[] = { diff --git a/locale/gen-translit.pl b/locale/gen-translit.pl index d44310b316..5f30e30851 100644 --- a/locale/gen-translit.pl +++ b/locale/gen-translit.pl @@ -53,6 +53,8 @@ while () { } } +printf "#include \n"; + printf "#define NTRANSLIT %d\n", $#froms + 1; printf "static const uint32_t translit_from_idx[] =\n{\n "; -- 2.43.5