summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/prebuilt/levcomp.tab.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-28 11:34:21 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-28 11:34:21 +0000
commit3c0284d1433462f05fa7bb304d5f8ce5f0f21eaf (patch)
tree42541d2438c89370c4993ec5ed95b184fd2915f2 /crawl-ref/source/prebuilt/levcomp.tab.h
parentd4065da159cb407f1680de9f03596cd397ded525 (diff)
downloadcrawl-ref-3c0284d1433462f05fa7bb304d5f8ce5f0f21eaf.tar.gz
crawl-ref-3c0284d1433462f05fa7bb304d5f8ce5f0f21eaf.zip
Update canned level compiler.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1491 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/prebuilt/levcomp.tab.h')
-rw-r--r--crawl-ref/source/prebuilt/levcomp.tab.h240
1 files changed, 178 insertions, 62 deletions
diff --git a/crawl-ref/source/prebuilt/levcomp.tab.h b/crawl-ref/source/prebuilt/levcomp.tab.h
index 26e6227d11..d1c64031cb 100644
--- a/crawl-ref/source/prebuilt/levcomp.tab.h
+++ b/crawl-ref/source/prebuilt/levcomp.tab.h
@@ -1,68 +1,184 @@
-typedef union
+/* A Bison parser, made by GNU Bison 2.3. */
+
+/* Skeleton interface for Bison's Yacc-like parsers in C
+
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+ 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., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA. */
+
+/* As a special exception, you may create a larger work that contains
+ part or all of the Bison parser skeleton and distribute that work
+ under terms of your choice, so long as that work isn't itself a
+ parser generator using the skeleton or a modified version thereof
+ as a parser skeleton. Alternatively, if you modify or redistribute
+ the parser skeleton itself, you may (at your option) remove this
+ special exception, which will cause the skeleton and the resulting
+ Bison output files to be licensed under the GNU General Public
+ License without this special exception.
+
+ This special exception was added by the Free Software Foundation in
+ version 2.2 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 {
+ BRANCHDEF = 258,
+ BRANCH = 259,
+ DESC = 260,
+ DEFAULT = 261,
+ DEFAULT_DEPTH = 262,
+ SHUFFLE = 263,
+ SUBST = 264,
+ TAGS = 265,
+ KFEAT = 266,
+ KITEM = 267,
+ KMONS = 268,
+ NAME = 269,
+ DEPTH = 270,
+ ORIENT = 271,
+ PLACE = 272,
+ CHANCE = 273,
+ FLAGS = 274,
+ MONS = 275,
+ ITEM = 276,
+ ROOT_DEPTH = 277,
+ ENTRY_MSG = 278,
+ EXIT_MSG = 279,
+ ROCK_COLOUR = 280,
+ FLOOR_COLOUR = 281,
+ ENCOMPASS = 282,
+ FLOAT = 283,
+ NORTH = 284,
+ EAST = 285,
+ SOUTH = 286,
+ WEST = 287,
+ NORTHEAST = 288,
+ SOUTHEAST = 289,
+ SOUTHWEST = 290,
+ NORTHWEST = 291,
+ LEVEL = 292,
+ END = 293,
+ PVAULT = 294,
+ PMINIVAULT = 295,
+ MONSTERS = 296,
+ ENDMONSTERS = 297,
+ CHARACTER = 298,
+ NO_HMIRROR = 299,
+ NO_VMIRROR = 300,
+ NO_ROTATE = 301,
+ PANDEMONIC = 302,
+ DASH = 303,
+ COMMA = 304,
+ QUOTE = 305,
+ OPAREN = 306,
+ CPAREN = 307,
+ COLON = 308,
+ STAR = 309,
+ NOT = 310,
+ INTEGER = 311,
+ STRING = 312,
+ MAP_LINE = 313,
+ MONSTER_NAME = 314,
+ ITEM_INFO = 315,
+ IDENTIFIER = 316
+ };
+#endif
+/* Tokens. */
+#define BRANCHDEF 258
+#define BRANCH 259
+#define DESC 260
+#define DEFAULT 261
+#define DEFAULT_DEPTH 262
+#define SHUFFLE 263
+#define SUBST 264
+#define TAGS 265
+#define KFEAT 266
+#define KITEM 267
+#define KMONS 268
+#define NAME 269
+#define DEPTH 270
+#define ORIENT 271
+#define PLACE 272
+#define CHANCE 273
+#define FLAGS 274
+#define MONS 275
+#define ITEM 276
+#define ROOT_DEPTH 277
+#define ENTRY_MSG 278
+#define EXIT_MSG 279
+#define ROCK_COLOUR 280
+#define FLOOR_COLOUR 281
+#define ENCOMPASS 282
+#define FLOAT 283
+#define NORTH 284
+#define EAST 285
+#define SOUTH 286
+#define WEST 287
+#define NORTHEAST 288
+#define SOUTHEAST 289
+#define SOUTHWEST 290
+#define NORTHWEST 291
+#define LEVEL 292
+#define END 293
+#define PVAULT 294
+#define PMINIVAULT 295
+#define MONSTERS 296
+#define ENDMONSTERS 297
+#define CHARACTER 298
+#define NO_HMIRROR 299
+#define NO_VMIRROR 300
+#define NO_ROTATE 301
+#define PANDEMONIC 302
+#define DASH 303
+#define COMMA 304
+#define QUOTE 305
+#define OPAREN 306
+#define CPAREN 307
+#define COLON 308
+#define STAR 309
+#define NOT 310
+#define INTEGER 311
+#define STRING 312
+#define MAP_LINE 313
+#define MONSTER_NAME 314
+#define ITEM_INFO 315
+#define IDENTIFIER 316
+
+
+
+
+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
+typedef union YYSTYPE
+#line 54 "levcomp.ypp"
{
int i;
const char *text;
raw_range range;
-} YYSTYPE;
-#define BRANCHDEF 257
-#define BRANCH 258
-#define DESC 259
-#define DEFAULT 260
-#define DEFAULT_DEPTH 261
-#define SHUFFLE 262
-#define SUBST 263
-#define TAGS 264
-#define KFEAT 265
-#define KITEM 266
-#define KMONS 267
-#define NAME 268
-#define DEPTH 269
-#define ORIENT 270
-#define PLACE 271
-#define CHANCE 272
-#define FLAGS 273
-#define MONS 274
-#define ITEM 275
-#define ROOT_DEPTH 276
-#define ENTRY_MSG 277
-#define EXIT_MSG 278
-#define ROCK_COLOUR 279
-#define FLOOR_COLOUR 280
-#define ENCOMPASS 281
-#define FLOAT 282
-#define NORTH 283
-#define EAST 284
-#define SOUTH 285
-#define WEST 286
-#define NORTHEAST 287
-#define SOUTHEAST 288
-#define SOUTHWEST 289
-#define NORTHWEST 290
-#define LEVEL 291
-#define END 292
-#define PVAULT 293
-#define PMINIVAULT 294
-#define MONSTERS 295
-#define ENDMONSTERS 296
-#define CHARACTER 297
-#define NO_HMIRROR 298
-#define NO_VMIRROR 299
-#define NO_ROTATE 300
-#define PANDEMONIC 301
-#define DASH 302
-#define COMMA 303
-#define QUOTE 304
-#define OPAREN 305
-#define CPAREN 306
-#define COLON 307
-#define STAR 308
-#define NOT 309
-#define INTEGER 310
-#define STRING 311
-#define MAP_LINE 312
-#define MONSTER_NAME 313
-#define ITEM_INFO 314
-#define IDENTIFIER 315
-
+}
+/* Line 1529 of yacc.c. */
+#line 177 "levcomp.tab.h"
+ YYSTYPE;
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+# define YYSTYPE_IS_TRIVIAL 1
+#endif
extern YYSTYPE yylval;
+