From 55f4dc4c9a5345c28d0da750d1ee00fbb0870885 Mon Sep 17 00:00:00 2001 From: why Date: Fri, 9 May 2003 21:25:50 +0000 Subject: Initial checkin of YAML substances. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/syck/gram.h | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 ext/syck/gram.h (limited to 'ext/syck/gram.h') diff --git a/ext/syck/gram.h b/ext/syck/gram.h new file mode 100644 index 0000000000..46d6c82e37 --- /dev/null +++ b/ext/syck/gram.h @@ -0,0 +1,79 @@ +/* A Bison parser, made from gram.y, by GNU bison 1.75. */ + +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + + 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. */ + +#ifndef BISON_Y_TAB_H +# define BISON_Y_TAB_H + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + ANCHOR = 258, + ALIAS = 259, + TRANSFER = 260, + ITRANSFER = 261, + WORD = 262, + PLAIN = 263, + BLOCK = 264, + DOCSEP = 265, + IOPEN = 266, + INDENT = 267, + IEND = 268 + }; +#endif +#define ANCHOR 258 +#define ALIAS 259 +#define TRANSFER 260 +#define ITRANSFER 261 +#define WORD 262 +#define PLAIN 263 +#define BLOCK 264 +#define DOCSEP 265 +#define IOPEN 266 +#define INDENT 267 +#define IEND 268 + + + + +#ifndef YYSTYPE +#line 23 "gram.y" +typedef union { + SYMID nodeId; + SyckNode *nodeData; + char *name; +} yystype; +/* Line 1281 of /usr/local/share/bison/yacc.c. */ +#line 72 "y.tab.h" +# define YYSTYPE yystype +#endif + + + + +#endif /* not BISON_Y_TAB_H */ + -- cgit v1.2.3