Ruby 1.9.2p136(2010-12-25revision30365)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

# ext/syck/gram.h

Go to the documentation of this file.

    00001 /* A Bison parser, made by GNU Bison 1.875d.  */
    00002
    00003 /* Skeleton parser for Yacc-like parsing with Bison,
    00004    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
    00005
    00006    This program is free software; you can redistribute it and/or modify
    00007    it under the terms of the GNU General Public License as published by
    00008    the Free Software Foundation; either version 2, or (at your option)
    00009    any later version.
    00010
    00011    This program is distributed in the hope that it will be useful,
    00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00014    GNU General Public License for more details.
    00015
    00016    You should have received a copy of the GNU General Public License
    00017    along with this program; if not, write to the Free Software
    00018    Foundation, Inc., 59 Temple Place - Suite 330,
    00019    Boston, MA 02111-1307, USA.  */
    00020
    00021 /* As a special exception, when this file is copied by Bison into a
    00022    Bison output file, you may use that output file without restriction.
    00023    This special exception was added by the Free Software Foundation
    00024    in version 1.24 of Bison.  */
    00025
    00026 /* Tokens.  */
    00027 #ifndef YYTOKENTYPE
    00028 # define YYTOKENTYPE
    00029    /* Put the tokens into the symbol table, so that GDB and other debuggers
    00030       know about them.  */
    00031    enum yytokentype {
    00032      YAML_ANCHOR = 258,
    00033      YAML_ALIAS = 259,
    00034      YAML_TRANSFER = 260,
    00035      YAML_TAGURI = 261,
    00036      YAML_ITRANSFER = 262,
    00037      YAML_WORD = 263,
    00038      YAML_PLAIN = 264,
    00039      YAML_BLOCK = 265,
    00040      YAML_DOCSEP = 266,
    00041      YAML_IOPEN = 267,
    00042      YAML_INDENT = 268,
    00043      YAML_IEND = 269
    00044    };
    00045 #endif
    00046 #define YAML_ANCHOR 258
    00047 #define YAML_ALIAS 259
    00048 #define YAML_TRANSFER 260
    00049 #define YAML_TAGURI 261
    00050 #define YAML_ITRANSFER 262
    00051 #define YAML_WORD 263
    00052 #define YAML_PLAIN 264
    00053 #define YAML_BLOCK 265
    00054 #define YAML_DOCSEP 266
    00055 #define YAML_IOPEN 267
    00056 #define YAML_INDENT 268
    00057 #define YAML_IEND 269
    00058
    00059
    00060
    00061
    00062 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
    00063 #line 35 "gram.y"
    00064 typedef union YYSTYPE {
    00065     SYMID nodeId;
    00066     SyckNode *nodeData;
    00067     char *name;
    00068 } YYSTYPE;
    00069 /* Line 1285 of yacc.c.  */
    00070 #line 71 "gram.h"
    00071 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
    00072 # define YYSTYPE_IS_DECLARED 1
    00073 # define YYSTYPE_IS_TRIVIAL 1
    00074 #endif
    00075
    00076
    00077
    00078
    00079
    00080