summaryrefslogtreecommitdiff
path: root/gen.tab/gen-joining-type-tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gen.tab/gen-joining-type-tab.c')
-rw-r--r--gen.tab/gen-joining-type-tab.c27
1 files changed, 11 insertions, 16 deletions
diff --git a/gen.tab/gen-joining-type-tab.c b/gen.tab/gen-joining-type-tab.c
index 809d113..07c0953 100644
--- a/gen.tab/gen-joining-type-tab.c
+++ b/gen.tab/gen-joining-type-tab.c
@@ -1,12 +1,6 @@
/* FriBidi
* gen-joining-type-tab.c - generate joining-type.tab.i
*
- * $Id: gen-joining-type-tab.c,v 1.7 2010-12-07 19:44:26 behdad Exp $
- * $Author: behdad $
- * $Date: 2010-12-07 19:44:26 $
- * $Revision: 1.7 $
- * $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/gen.tab/gen-joining-type-tab.c,v $
- *
* Author:
* Behdad Esfahbod, 2004
*
@@ -28,7 +22,7 @@
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA
*
- * For licensing issues, contact <license@farsiweb.info>.
+ * For licensing issues, contact <fribidi.license@gmail.com>.
*/
#include <common.h>
@@ -36,7 +30,7 @@
#include <fribidi-unicode.h>
#include <stdio.h>
-#if STDC_HEADERS+0
+#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
@@ -44,13 +38,13 @@
# include <stdlib.h>
# endif
#endif
-#if HAVE_STRING_H+0
+#ifdef HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
-#if HAVE_STRINGS_H+0
+#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
@@ -151,6 +145,10 @@ static const char *ignored_bidi_types[] = {
"LRO",
"RLO",
"PDF",
+ "LRI",
+ "RLI",
+ "FSI",
+ "PDI",
NULL
};
@@ -286,7 +284,6 @@ read_data (
for (; data_file_name[0] && data_file_type[0];
data_file_name++, data_file_type++)
{
- fprintf (stderr, "Reading `%s'\n", data_file_name[0]);
if (!(f = fopen (data_file_name[0], "rt")))
die2 ("error: cannot open `%s' for reading", data_file_name[0]);
@@ -308,16 +305,14 @@ gen_joining_type_tab (
const char *data_file_type[]
)
{
- fprintf (stderr,
- "Generating `" outputname "', it may take up to a few minutes\n");
printf ("/* " outputname "\n * generated by " appname " (" FRIBIDI_NAME " "
FRIBIDI_VERSION ")\n" " * from the files %s, %s of Unicode version "
FRIBIDI_UNICODE_VERSION ". */\n\n", data_file_type[0],
data_file_type[1]);
- printf ("#define PACKTAB_UINT8 fribidi_uint8\n"
- "#define PACKTAB_UINT16 fribidi_uint16\n"
- "#define PACKTAB_UINT32 fribidi_uint32\n\n");
+ printf ("#define PACKTAB_UINT8 uint8_t\n"
+ "#define PACKTAB_UINT16 uint16_t\n"
+ "#define PACKTAB_UINT32 uint32_t\n\n");
if (!pack_table
(table, FRIBIDI_UNICODE_CHARS, 1, U, max_depth, 1, names,