~danilo/pygettextpo/other-comments

« back to all changes in this revision

Viewing changes to gettext-tools-0.14.2/src/po-gram-gen2.h

  • Committer: James Henstridge
  • Date: 2005-03-22 08:20:26 UTC
  • Revision ID: Arch-1:james.henstridge@canonical.com--2004%pygettextpo--devel--0--patch-7
fix up a small makefile bug

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef BISON_Y_TAB_H
2
 
# define BISON_Y_TAB_H
3
 
 
4
 
#ifndef YYSTYPE
5
 
typedef union
6
 
{
 
1
/* A Bison parser, made by GNU Bison 1.875d.  */
 
2
 
 
3
/* Skeleton parser for Yacc-like parsing with Bison,
 
4
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
5
 
 
6
   This program is free software; you can redistribute it and/or modify
 
7
   it under the terms of the GNU General Public License as published by
 
8
   the Free Software Foundation; either version 2, or (at your option)
 
9
   any later version.
 
10
 
 
11
   This program is distributed in the hope that it will be useful,
 
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
   GNU General Public License for more details.
 
15
 
 
16
   You should have received a copy of the GNU General Public License
 
17
   along with this program; if not, write to the Free Software
 
18
   Foundation, Inc., 59 Temple Place - Suite 330,
 
19
   Boston, MA 02111-1307, USA.  */
 
20
 
 
21
/* As a special exception, when this file is copied by Bison into a
 
22
   Bison output file, you may use that output file without restriction.
 
23
   This special exception was added by the Free Software Foundation
 
24
   in version 1.24 of Bison.  */
 
25
 
 
26
/* Tokens.  */
 
27
#ifndef YYTOKENTYPE
 
28
# define YYTOKENTYPE
 
29
   /* Put the tokens into the symbol table, so that GDB and other debuggers
 
30
      know about them.  */
 
31
   enum po_gram_tokentype {
 
32
     COMMENT = 258,
 
33
     DOMAIN = 259,
 
34
     JUNK = 260,
 
35
     MSGID = 261,
 
36
     MSGID_PLURAL = 262,
 
37
     MSGSTR = 263,
 
38
     NAME = 264,
 
39
     NUMBER = 265,
 
40
     STRING = 266
 
41
   };
 
42
#endif
 
43
#define COMMENT 258
 
44
#define DOMAIN 259
 
45
#define JUNK 260
 
46
#define MSGID 261
 
47
#define MSGID_PLURAL 262
 
48
#define MSGSTR 263
 
49
#define NAME 264
 
50
#define NUMBER 265
 
51
#define STRING 266
 
52
 
 
53
 
 
54
 
 
55
 
 
56
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
 
57
#line 124 "po-gram-gen.y"
 
58
typedef union YYSTYPE {
7
59
  struct { char *string; lex_pos_ty pos; bool obsolete; } string;
8
60
  struct { string_list_ty stringlist; lex_pos_ty pos; bool obsolete; } stringlist;
9
61
  struct { long number; lex_pos_ty pos; bool obsolete; } number;
10
62
  struct { lex_pos_ty pos; bool obsolete; } pos;
11
63
  struct { struct msgstr_def rhs; lex_pos_ty pos; bool obsolete; } rhs;
12
 
} po_gram_stype;
13
 
# define YYSTYPE po_gram_stype
 
64
} YYSTYPE;
 
65
/* Line 1285 of yacc.c.  */
 
66
#line 67 "po-gram-gen.h"
 
67
# define po_gram_stype YYSTYPE /* obsolescent; will be withdrawn */
 
68
# define YYSTYPE_IS_DECLARED 1
14
69
# define YYSTYPE_IS_TRIVIAL 1
15
70
#endif
16
 
# define        COMMENT 257
17
 
# define        DOMAIN  258
18
 
# define        JUNK    259
19
 
# define        MSGID   260
20
 
# define        MSGID_PLURAL    261
21
 
# define        MSGSTR  262
22
 
# define        NAME    263
23
 
# define        NUMBER  264
24
 
# define        STRING  265
25
 
 
26
71
 
27
72
extern DLL_VARIABLE YYSTYPE po_gram_lval;
28
73
 
29
 
#endif /* not BISON_Y_TAB_H */
 
74
 
 
75