summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-02-19 20:15:12 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:13 +0200
commitcf5b18d328c2affdd509a11912bf558d8663cb74 (patch)
tree9b7b336147f7e1a33450dc9192eae52becc62c43 /gettext-tools
parentb9f275483a5185c4147974e5549e4c720d505481 (diff)
downloadexternal_gettext-cf5b18d328c2affdd509a11912bf558d8663cb74.zip
external_gettext-cf5b18d328c2affdd509a11912bf558d8663cb74.tar.gz
external_gettext-cf5b18d328c2affdd509a11912bf558d8663cb74.tar.bz2
Regenerated by bison 1.35.
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/src/po-gram-gen.h29
-rw-r--r--gettext-tools/src/po-hash-gen.h25
2 files changed, 36 insertions, 18 deletions
diff --git a/gettext-tools/src/po-gram-gen.h b/gettext-tools/src/po-gram-gen.h
index dd0c6c9..2484739 100644
--- a/gettext-tools/src/po-gram-gen.h
+++ b/gettext-tools/src/po-gram-gen.h
@@ -1,3 +1,7 @@
+#ifndef BISON_Y_TAB_H
+# define BISON_Y_TAB_H
+
+#ifndef YYSTYPE
typedef union
{
struct { char *string; lex_pos_ty pos; bool obsolete; } string;
@@ -5,16 +9,21 @@ typedef union
struct { long number; lex_pos_ty pos; bool obsolete; } number;
struct { lex_pos_ty pos; bool obsolete; } pos;
struct { struct msgstr_def rhs; lex_pos_ty pos; bool obsolete; } rhs;
-} YYSTYPE;
-#define COMMENT 257
-#define DOMAIN 258
-#define JUNK 259
-#define MSGID 260
-#define MSGID_PLURAL 261
-#define MSGSTR 262
-#define NAME 263
-#define NUMBER 264
-#define STRING 265
+} yystype;
+# define YYSTYPE yystype
+# define YYSTYPE_IS_TRIVIAL 1
+#endif
+# define COMMENT 257
+# define DOMAIN 258
+# define JUNK 259
+# define MSGID 260
+# define MSGID_PLURAL 261
+# define MSGSTR 262
+# define NAME 263
+# define NUMBER 264
+# define STRING 265
extern YYSTYPE yylval;
+
+#endif /* not BISON_Y_TAB_H */
diff --git a/gettext-tools/src/po-hash-gen.h b/gettext-tools/src/po-hash-gen.h
index 3d63722..45e05e1 100644
--- a/gettext-tools/src/po-hash-gen.h
+++ b/gettext-tools/src/po-hash-gen.h
@@ -1,15 +1,24 @@
+#ifndef BISON_Y_TAB_H
+# define BISON_Y_TAB_H
+
+#ifndef YYSTYPE
typedef union
{
char *string;
size_t number;
-} YYSTYPE;
-#define STRING 257
-#define NUMBER 258
-#define COLON 259
-#define COMMA 260
-#define FILE_KEYWORD 261
-#define LINE_KEYWORD 262
-#define NUMBER_KEYWORD 263
+} yystype;
+# define YYSTYPE yystype
+# define YYSTYPE_IS_TRIVIAL 1
+#endif
+# define STRING 257
+# define NUMBER 258
+# define COLON 259
+# define COMMA 260
+# define FILE_KEYWORD 261
+# define LINE_KEYWORD 262
+# define NUMBER_KEYWORD 263
extern YYSTYPE yylval;
+
+#endif /* not BISON_Y_TAB_H */