2005-09-12 23:58:33 -04:00
|
|
|
/* A Bison parser, made by GNU Bison 1.875d. */
|
2003-05-09 17:25:50 -04:00
|
|
|
|
|
|
|
/* Skeleton parser for Yacc-like parsing with Bison,
|
2005-09-12 23:58:33 -04:00
|
|
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
2003-05-09 17:25:50 -04:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
Boston, MA 02111-1307, USA. */
|
|
|
|
|
|
|
|
/* As a special exception, when this file is copied by Bison into a
|
|
|
|
Bison output file, you may use that output file without restriction.
|
|
|
|
This special exception was added by the Free Software Foundation
|
|
|
|
in version 1.24 of Bison. */
|
|
|
|
|
|
|
|
/* Tokens. */
|
|
|
|
#ifndef YYTOKENTYPE
|
|
|
|
# define YYTOKENTYPE
|
|
|
|
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
|
|
|
know about them. */
|
|
|
|
enum yytokentype {
|
2003-07-28 23:27:01 -04:00
|
|
|
YAML_ANCHOR = 258,
|
|
|
|
YAML_ALIAS = 259,
|
|
|
|
YAML_TRANSFER = 260,
|
2003-10-14 19:15:19 -04:00
|
|
|
YAML_TAGURI = 261,
|
|
|
|
YAML_ITRANSFER = 262,
|
|
|
|
YAML_WORD = 263,
|
|
|
|
YAML_PLAIN = 264,
|
|
|
|
YAML_BLOCK = 265,
|
|
|
|
YAML_DOCSEP = 266,
|
|
|
|
YAML_IOPEN = 267,
|
|
|
|
YAML_INDENT = 268,
|
|
|
|
YAML_IEND = 269
|
2003-05-09 17:25:50 -04:00
|
|
|
};
|
|
|
|
#endif
|
2003-07-28 23:27:01 -04:00
|
|
|
#define YAML_ANCHOR 258
|
|
|
|
#define YAML_ALIAS 259
|
|
|
|
#define YAML_TRANSFER 260
|
2003-10-14 19:15:19 -04:00
|
|
|
#define YAML_TAGURI 261
|
|
|
|
#define YAML_ITRANSFER 262
|
|
|
|
#define YAML_WORD 263
|
|
|
|
#define YAML_PLAIN 264
|
|
|
|
#define YAML_BLOCK 265
|
|
|
|
#define YAML_DOCSEP 266
|
|
|
|
#define YAML_IOPEN 267
|
|
|
|
#define YAML_INDENT 268
|
|
|
|
#define YAML_IEND 269
|
2003-05-09 17:25:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-12 23:58:33 -04:00
|
|
|
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
|
|
|
#line 35 "gram.y"
|
|
|
|
typedef union YYSTYPE {
|
2003-05-09 17:25:50 -04:00
|
|
|
SYMID nodeId;
|
|
|
|
SyckNode *nodeData;
|
|
|
|
char *name;
|
2005-09-12 23:58:33 -04:00
|
|
|
} YYSTYPE;
|
|
|
|
/* Line 1285 of yacc.c. */
|
|
|
|
#line 71 "gram.h"
|
|
|
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
|
|
|
# define YYSTYPE_IS_DECLARED 1
|
|
|
|
# define YYSTYPE_IS_TRIVIAL 1
|
2003-05-09 17:25:50 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|