summaryrefslogtreecommitdiff
path: root/gen.tab/gen-bidi-type-tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gen.tab/gen-bidi-type-tab.c')
-rw-r--r--gen.tab/gen-bidi-type-tab.c23
1 files changed, 7 insertions, 16 deletions
diff --git a/gen.tab/gen-bidi-type-tab.c b/gen.tab/gen-bidi-type-tab.c
index aacd768..a0a61ef 100644
--- a/gen.tab/gen-bidi-type-tab.c
+++ b/gen.tab/gen-bidi-type-tab.c
@@ -1,12 +1,6 @@
/* FriBidi
* gen-bidi-type-tab.c - generate bidi-type.tab.i
*
- * $Id: gen-bidi-type-tab.c,v 1.18 2006-01-31 03:23:12 behdad Exp $
- * $Author: behdad $
- * $Date: 2006-01-31 03:23:12 $
- * $Revision: 1.18 $
- * $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/gen.tab/gen-bidi-type-tab.c,v $
- *
* Author:
* Behdad Esfahbod, 2001, 2002, 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
@@ -298,7 +292,6 @@ read_data (
{
FILE *f;
- fprintf (stderr, "Reading `%s'\n", data_file_name);
if (!(f = fopen (data_file_name, "rt")))
die2 ("error: cannot open `%s' for reading", data_file_name);
@@ -318,15 +311,13 @@ gen_bidi_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 file %s of Unicode version "
FRIBIDI_UNICODE_VERSION ". */\n\n", data_file_type);
- 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, LTR, max_depth, 3, names,