xref: /netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/po-gram-gen2.h (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1 #ifndef BISON_PO_GRAM_GEN_H
2 # define BISON_PO_GRAM_GEN_H
3 
4 #ifndef YYSTYPE
5 typedef union
6 {
7   struct { char *string; lex_pos_ty pos; bool obsolete; } string;
8   struct { string_list_ty stringlist; lex_pos_ty pos; bool obsolete; } stringlist;
9   struct { long number; lex_pos_ty pos; bool obsolete; } number;
10   struct { lex_pos_ty pos; bool obsolete; } pos;
11   struct { char *ctxt; char *id; char *id_plural; lex_pos_ty pos; bool obsolete; } prev;
12   struct { char *prev_ctxt; char *prev_id; char *prev_id_plural; char *ctxt; lex_pos_ty pos; bool obsolete; } message_intro;
13   struct { struct msgstr_def rhs; lex_pos_ty pos; bool obsolete; } rhs;
14 } po_gram_stype;
15 # define YYSTYPE po_gram_stype
16 # define YYSTYPE_IS_TRIVIAL 1
17 #endif
18 # define	COMMENT	257
19 # define	DOMAIN	258
20 # define	JUNK	259
21 # define	PREV_MSGCTXT	260
22 # define	PREV_MSGID	261
23 # define	PREV_MSGID_PLURAL	262
24 # define	PREV_STRING	263
25 # define	MSGCTXT	264
26 # define	MSGID	265
27 # define	MSGID_PLURAL	266
28 # define	MSGSTR	267
29 # define	NAME	268
30 # define	NUMBER	269
31 # define	STRING	270
32 
33 
34 extern DLL_VARIABLE YYSTYPE po_gram_lval;
35 
36 #endif /* not BISON_PO_GRAM_GEN_H */
37