* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git] / ext / syck / gram.h
blob547149ab4b10f3cc7d638909b8747d4f81271793
1 /* A Bison parser, made by GNU Bison 1.875d. */
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
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.
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.
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. */
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. */
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 yytokentype {
32 YAML_ANCHOR = 258,
33 YAML_ALIAS = 259,
34 YAML_TRANSFER = 260,
35 YAML_TAGURI = 261,
36 YAML_ITRANSFER = 262,
37 YAML_WORD = 263,
38 YAML_PLAIN = 264,
39 YAML_BLOCK = 265,
40 YAML_DOCSEP = 266,
41 YAML_IOPEN = 267,
42 YAML_INDENT = 268,
43 YAML_IEND = 269
45 #endif
46 #define YAML_ANCHOR 258
47 #define YAML_ALIAS 259
48 #define YAML_TRANSFER 260
49 #define YAML_TAGURI 261
50 #define YAML_ITRANSFER 262
51 #define YAML_WORD 263
52 #define YAML_PLAIN 264
53 #define YAML_BLOCK 265
54 #define YAML_DOCSEP 266
55 #define YAML_IOPEN 267
56 #define YAML_INDENT 268
57 #define YAML_IEND 269
62 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
63 #line 35 "gram.y"
64 typedef union YYSTYPE {
65 SYMID nodeId;
66 SyckNode *nodeData;
67 char *name;
68 } YYSTYPE;
69 /* Line 1285 of yacc.c. */
70 #line 71 "gram.h"
71 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
72 # define YYSTYPE_IS_DECLARED 1
73 # define YYSTYPE_IS_TRIVIAL 1
74 #endif