version 1.7 | | version 1.8 |
---|
| | |
/* A lexical scanner generated by flex */ | | /* A lexical scanner generated by flex */ |
| | |
/* Scanner skeleton version: | | /* Scanner skeleton version: |
* $Header: /cvsroot/crossfire/crossfire/random_maps/reader.c,v 1.7 2001/05/15 04:30:04 mardahl Exp $ | | * $Header: /cvsroot/crossfire/crossfire/random_maps/reader.c,v 1.8 2004/12/29 01:08:49 mwedel Exp $ |
*/ | | */ |
| | |
#define FLEX_SCANNER | | #define FLEX_SCANNER |
| | |
| | |
#define YY_NUM_RULES 31 | | #define YY_NUM_RULES 31 |
#define YY_END_OF_BUFFER 32 | | #define YY_END_OF_BUFFER 32 |
static yyconst short int yy_accept[317] = | | static yyconst short int yy_accept[309] = |
{ 0, | | { 0, |
30, 30, 0, 0, 32, 30, 28, 30, 30, 30, | | 30, 30, 0, 0, 32, 30, 28, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 31, 31, 30, 30, 29, 30, 28, 30, | | 30, 31, 31, 30, 30, 29, 30, 28, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 0, 28, 30, 30, | | 30, 30, 30, 30, 0, 28, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
| | |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
| | 30, 30, 30, 30, 30, 30, 30, 30, 30, 8, |
| | 8, 9, 9, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 30, 8, 8, 9, 9, 30, 30, 30, | | |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 30, | | 30, 30, 30, 30, 30, 10, 10, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 10, 10, | | |
| | |
30, 30, 30, 30, 30, 30, 30, 30, 22, 22, | | 30, 30, 30, 30, 22, 22, 23, 23, 30, 14, |
23, 23, 30, 14, 14, 30, 30, 30, 30, 30, | | 14, 30, 30, 30, 30, 30, 30, 6, 6, 30, |
30, 6, 6, 30, 30, 17, 17, 20, 20, 30, | | 30, 30, 17, 17, 20, 20, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 30, 30, 30, 30, 1, | | 30, 30, 30, 30, 30, 1, 1, 30, 7, 7, |
1, 30, 7, 7, 15, 15, 30, 30, 2, 2, | | 15, 15, 30, 30, 30, 2, 2, 30, 30, 30, |
30, 30, 30, 30, 30, 24, 24, 30, 30, 30, | | 30, 24, 24, 30, 30, 30, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 5, 5, 30, 21, 21, | | 30, 5, 5, 30, 21, 21, 25, 25, 30, 30, |
25, 25, 30, 30, 16, 16, 30, 30, 30, 30, | | 16, 16, 30, 30, 30, 30, 30, 30, 3, 3, |
30, 30, 3, 3, 30, 30, 19, 19, 18, 18, | | 30, 30, 19, 19, 18, 18, 30, 30, 30, 30, |
30, 30, 30, 30, 30, 4, 4, 30, 11, 11, | | 30, 4, 4, 30, 11, 11, 12, 12, 13, 13, |
| | |
12, 12, 13, 13, 30, 30, 26, 26, 30, 30, | | 30, 30, 26, 26, 30, 27, 27, 0 |
30, 30, 30, 27, 27, 0 | | |
} ; | | } ; |
| | |
static yyconst int yy_ec[256] = | | static yyconst int yy_ec[256] = |
| | |
1, 1 | | 1, 1 |
} ; | | } ; |
| | |
static yyconst short int yy_base[348] = | | static yyconst short int yy_base[340] = |
{ 0, | | { 0, |
0, 7, 3, 4, 352, 0, 353, 348, 0, 21, | | 0, 7, 3, 4, 344, 0, 345, 340, 0, 1, |
320, 0, 335, 337, 325, 322, 334, 313, 319, 331, | | 312, 6, 330, 318, 315, 327, 306, 312, 324, 309, |
316, 315, 353, 12, 0, 336, 353, 23, 0, 326, | | 308, 345, 12, 0, 329, 345, 37, 0, 319, 315, |
322, 314, 314, 22, 313, 311, 311, 300, 309, 311, | | 307, 307, 12, 306, 304, 294, 303, 305, 301, 301, |
307, 307, 312, 306, 306, 305, 39, 353, 300, 306, | | 306, 300, 300, 299, 38, 345, 294, 300, 290, 297, |
296, 303, 292, 306, 305, 293, 300, 291, 287, 33, | | 286, 300, 299, 287, 286, 282, 30, 293, 285, 293, |
298, 290, 298, 289, 275, 274, 281, 286, 278, 288, | | 284, 270, 269, 276, 281, 273, 283, 24, 275, 276, |
276, 279, 280, 274, 273, 269, 269, 273, 275, 270, | | 270, 266, 266, 270, 272, 267, 274, 262, 261, 271, |
277, 265, 264, 274, 273, 28, 274, 259, 262, 257, | | 270, 23, 271, 256, 259, 258, 253, 265, 267, 251, |
269, 271, 255, 268, 252, 263, 250, 254, 254, 247, | | 249, 260, 247, 251, 251, 244, 242, 242, 265, 264, |
| | |
245, 245, 268, 267, 245, 241, 239, 234, 243, 232, | | 242, 238, 236, 231, 240, 239, 228, 251, 237, 230, |
255, 241, 234, 233, 29, 234, 246, 246, 245, 230, | | 25, 231, 243, 243, 242, 227, 226, 218, 246, 245, |
229, 221, 249, 248, 223, 217, 228, 227, 235, 225, | | 220, 214, 225, 224, 232, 231, 221, 209, 227, 206, |
213, 231, 210, 226, 216, 212, 212, 210, 26, 210, | | 213, 209, 209, 207, 21, 207, 200, 216, 210, 0, |
203, 219, 213, 0, 229, 0, 228, 211, 209, 201, | | 226, 0, 225, 208, 206, 198, 209, 40, 207, 207, |
212, 11, 211, 222, 200, 203, 211, 194, 188, 192, | | 218, 196, 199, 191, 185, 189, 196, 202, 210, 209, |
199, 205, 213, 212, 199, 210, 30, 197, 188, 195, | | 196, 207, 32, 194, 185, 192, 174, 202, 189, 188, |
177, 205, 192, 191, 202, 201, 200, 187, 174, 181, | | 183, 198, 197, 196, 183, 178, 176, 163, 171, 169, |
179, 166, 174, 172, 192, 191, 178, 189, 167, 163, | | 189, 188, 175, 186, 164, 160, 183, 163, 181, 180, |
186, 166, 184, 183, 182, 160, 154, 179, 0, 178, | | 179, 157, 151, 157, 175, 0, 174, 173, 172, 151, |
| | |
177, 176, 153, 154, 161, 155, 152, 170, 0, 169, | | 158, 152, 149, 167, 0, 166, 0, 165, 153, 0, |
0, 168, 156, 0, 166, 141, 135, 163, 139, 161, | | 163, 138, 132, 160, 136, 158, 157, 0, 156, 131, |
160, 0, 159, 134, 145, 0, 156, 0, 155, 154, | | 142, 144, 0, 152, 0, 151, 150, 130, 148, 135, |
141, 133, 151, 138, 149, 148, 147, 130, 128, 0, | | 146, 145, 144, 127, 125, 0, 141, 140, 0, 139, |
144, 143, 0, 142, 0, 141, 125, 122, 0, 138, | | 0, 138, 122, 119, 118, 0, 134, 110, 132, 131, |
128, 113, 135, 134, 133, 0, 132, 131, 110, 117, | | 130, 0, 129, 128, 107, 114, 125, 124, 123, 114, |
128, 127, 126, 102, 52, 0, 124, 123, 0, 122, | | 54, 0, 121, 120, 0, 119, 0, 118, 98, 116, |
0, 121, 101, 119, 0, 118, 117, 116, 90, 114, | | 0, 115, 114, 113, 94, 111, 110, 109, 0, 108, |
113, 112, 0, 111, 87, 109, 0, 108, 0, 107, | | 84, 106, 0, 105, 0, 104, 94, 102, 101, 100, |
84, 105, 104, 103, 102, 0, 101, 88, 0, 99, | | 99, 0, 98, 76, 0, 96, 0, 95, 0, 94, |
| | |
0, 98, 0, 97, 96, 87, 0, 94, 74, 72, | | 93, 92, 0, 91, 90, 0, 89, 345, 62, 64, |
64, 90, 89, 0, 88, 353, 60, 62, 88, 64, | | 89, 66, 88, 87, 86, 85, 84, 83, 82, 81, |
87, 86, 85, 84, 83, 82, 81, 80, 79, 78, | | 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, |
77, 76, 75, 74, 73, 72, 71, 70, 69, 68, | | 70, 69, 68, 57, 55, 54, 17, 7, 0 |
67, 66, 41, 33, 14, 7, 0 | | |
} ; | | } ; |
| | |
static yyconst short int yy_def[348] = | | static yyconst short int yy_def[340] = |
{ 0, | | { 0, |
317, 317, 318, 318, 316, 319, 316, 320, 319, 319, | | 309, 309, 310, 310, 308, 311, 308, 312, 311, 311, |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 316, 316, 319, 320, 316, 319, 319, 319, | | 311, 308, 308, 311, 312, 308, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 319, 316, 316, 319, 319, | | 311, 311, 311, 311, 308, 308, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, |
| | |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 313, 314, |
319, 319, 321, 322, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 313, |
319, 319, 319, 321, 321, 322, 322, 319, 319, 319, | | 313, 314, 314, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 319, 319, 319, 319, 319, | | 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 319, 323, 319, 319, 319, 319, | | 311, 311, 315, 311, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 324, 325, 319, 326, 319, 319, | | 316, 317, 311, 318, 311, 311, 311, 311, 311, 311, |
319, 319, 319, 319, 327, 319, 319, 328, 323, 323, | | 319, 311, 311, 311, 320, 315, 315, 321, 311, 311, |
| | |
329, 319, 319, 319, 319, 319, 319, 319, 324, 324, | | 311, 311, 311, 311, 316, 316, 317, 317, 311, 318, |
325, 325, 319, 326, 326, 319, 319, 330, 319, 331, | | 318, 311, 311, 322, 311, 323, 324, 319, 319, 311, |
332, 327, 327, 319, 319, 328, 328, 329, 329, 333, | | 311, 311, 320, 320, 321, 321, 325, 311, 311, 311, |
319, 319, 319, 319, 319, 334, 319, 319, 319, 330, | | 311, 326, 311, 311, 311, 322, 322, 311, 323, 323, |
330, 319, 331, 331, 332, 332, 319, 319, 333, 333, | | 324, 324, 311, 311, 311, 325, 325, 311, 327, 311, |
319, 319, 335, 319, 336, 334, 334, 337, 319, 319, | | 328, 326, 326, 329, 311, 311, 330, 311, 311, 311, |
338, 319, 319, 319, 319, 335, 335, 339, 336, 336, | | 311, 327, 327, 331, 328, 328, 329, 329, 311, 311, |
337, 337, 319, 319, 338, 338, 340, 341, 319, 319, | | 330, 330, 332, 333, 311, 311, 311, 311, 331, 331, |
319, 319, 339, 339, 319, 342, 340, 340, 341, 341, | | 311, 334, 332, 332, 333, 333, 311, 335, 336, 337, |
319, 343, 344, 345, 319, 342, 342, 319, 343, 343, | | 311, 334, 334, 311, 335, 335, 336, 336, 337, 337, |
| | |
344, 344, 345, 345, 346, 319, 346, 346, 319, 319, | | 338, 311, 338, 338, 339, 339, 339, 0, 308, 308, |
319, 319, 347, 347, 347, 0, 316, 316, 316, 316, | | 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, |
316, 316, 316, 316, 316, 316, 316, 316, 316, 316, | | 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, |
316, 316, 316, 316, 316, 316, 316, 316, 316, 316, | | 308, 308, 308, 308, 308, 308, 308, 308, 308 |
316, 316, 316, 316, 316, 316, 316 | | |
} ; | | } ; |
| | |
static yyconst short int yy_nxt[386] = | | static yyconst short int yy_nxt[378] = |
{ 0, | | { 0, |
314, 28, 7, 8, 29, 7, 7, 307, 9, 7, | | 306, 27, 7, 8, 28, 7, 7, 303, 9, 7, |
8, 24, 24, 47, 303, 9, 48, 35, 36, 10, | | 8, 23, 23, 45, 29, 9, 46, 299, 30, 10, |
11, 12, 13, 173, 28, 14, 15, 29, 16, 174, | | 11, 12, 31, 34, 35, 13, 14, 32, 15, 51, |
17, 18, 19, 301, 30, 20, 21, 22, 31, 53, | | 16, 17, 18, 86, 52, 19, 20, 21, 27, 45, |
47, 299, 32, 48, 54, 162, 78, 33, 79, 105, | | 158, 28, 46, 74, 101, 75, 131, 102, 87, 132, |
135, 189, 106, 136, 190, 163, 164, 280, 281, 282, | | 159, 160, 169, 185, 297, 295, 186, 292, 170, 276, |
6, 6, 23, 23, 26, 26, 296, 289, 287, 283, | | 277, 278, 6, 6, 22, 22, 25, 25, 285, 283, |
275, 271, 269, 266, 256, 249, 245, 243, 240, 228, | | 279, 271, 267, 265, 262, 252, 246, 241, 239, 236, |
226, 222, 214, 211, 209, 199, 146, 144, 25, 315, | | 225, 223, 218, 210, 207, 205, 196, 142, 140, 24, |
315, 313, 312, 311, 310, 308, 309, 308, 304, 302, | | 307, 307, 304, 305, 304, 300, 298, 296, 302, 293, |
| | |
300, 306, 297, 305, 304, 302, 300, 298, 290, 288, | | 301, 300, 298, 296, 294, 286, 284, 293, 291, 280, |
297, 295, 284, 294, 293, 292, 291, 290, 288, 276, | | 290, 289, 288, 287, 286, 284, 272, 282, 281, 268, |
286, 285, 272, 270, 284, 267, 279, 278, 277, 276, | | 266, 280, 263, 275, 274, 273, 272, 270, 269, 268, |
274, 273, 272, 257, 270, 268, 267, 265, 264, 250, | | 253, 266, 264, 263, 261, 247, 260, 259, 258, 242, |
263, 262, 246, 244, 261, 241, 260, 259, 258, 257, | | 240, 257, 237, 256, 255, 254, 253, 251, 250, 249, |
255, 254, 253, 252, 251, 250, 229, 227, 248, 247, | | 248, 247, 226, 224, 245, 244, 243, 219, 242, 240, |
223, 246, 244, 242, 241, 239, 238, 215, 237, 212, | | 238, 237, 235, 234, 211, 233, 208, 206, 232, 231, |
210, 236, 235, 234, 233, 232, 231, 230, 229, 200, | | 230, 229, 228, 227, 226, 197, 224, 222, 221, 220, |
227, 225, 224, 223, 221, 220, 219, 218, 217, 216, | | 219, 217, 216, 215, 214, 213, 212, 211, 209, 208, |
215, 213, 212, 210, 208, 207, 206, 205, 204, 203, | | 206, 204, 203, 202, 201, 200, 199, 198, 197, 195, |
| | |
202, 201, 200, 198, 197, 196, 195, 194, 193, 192, | | 194, 193, 192, 191, 190, 189, 188, 187, 184, 183, |
191, 188, 187, 186, 185, 184, 183, 182, 181, 180, | | 182, 181, 180, 179, 178, 177, 176, 175, 174, 173, |
179, 178, 177, 176, 175, 172, 171, 170, 169, 147, | | 172, 171, 168, 167, 166, 165, 143, 141, 164, 163, |
145, 168, 167, 166, 165, 161, 160, 159, 158, 157, | | 162, 161, 157, 156, 155, 154, 153, 152, 151, 150, |
156, 155, 154, 153, 152, 151, 150, 149, 148, 147, | | 149, 148, 147, 146, 145, 144, 143, 141, 139, 138, |
145, 143, 142, 141, 140, 139, 138, 137, 134, 133, | | 137, 136, 135, 134, 133, 130, 129, 128, 127, 126, |
132, 131, 130, 129, 128, 127, 126, 125, 124, 123, | | 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, |
122, 121, 120, 119, 118, 117, 116, 115, 114, 113, | | 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, |
112, 111, 110, 109, 108, 107, 104, 103, 102, 101, | | 105, 104, 103, 100, 99, 98, 97, 96, 95, 94, |
100, 99, 98, 97, 96, 95, 94, 93, 92, 91, | | 93, 92, 91, 90, 89, 88, 85, 84, 83, 82, |
| | |
90, 89, 88, 87, 86, 85, 84, 83, 82, 81, | | 81, 80, 79, 78, 77, 76, 73, 72, 71, 70, |
80, 77, 76, 75, 74, 73, 72, 71, 70, 69, | | 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, |
68, 67, 66, 65, 64, 63, 62, 61, 60, 59, | | 59, 58, 57, 56, 55, 54, 53, 50, 49, 48, |
58, 57, 56, 55, 52, 51, 50, 49, 27, 46, | | 47, 26, 44, 43, 42, 41, 40, 39, 38, 37, |
45, 44, 43, 42, 41, 40, 39, 38, 37, 34, | | 36, 33, 26, 308, 5, 308, 308, 308, 308, 308, |
27, 316, 5, 316, 316, 316, 316, 316, 316, 316, | | 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, |
316, 316, 316, 316, 316, 316, 316, 316, 316, 316, | | 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, |
316, 316, 316, 316, 316, 316, 316, 316, 316, 316, | | 308, 308, 308, 308, 308, 308, 308 |
316, 316, 316, 316, 316 | | |
} ; | | } ; |
| | |
static yyconst short int yy_chk[386] = | | static yyconst short int yy_chk[378] = |
{ 0, | | { 0, |
347, 9, 1, 1, 9, 3, 4, 346, 1, 2, | | 339, 9, 1, 1, 9, 3, 4, 338, 1, 2, |
2, 3, 4, 24, 345, 2, 24, 12, 12, 2, | | 2, 3, 4, 23, 10, 2, 23, 337, 10, 2, |
2, 2, 2, 152, 28, 2, 2, 28, 2, 152, | | 2, 2, 10, 12, 12, 2, 2, 10, 2, 33, |
2, 2, 2, 344, 10, 2, 2, 2, 10, 34, | | 2, 2, 2, 68, 33, 2, 2, 2, 27, 45, |
47, 343, 10, 47, 34, 139, 60, 10, 60, 86, | | 135, 27, 45, 57, 82, 57, 111, 82, 68, 111, |
115, 167, 86, 115, 167, 139, 139, 265, 265, 265, | | 135, 135, 148, 163, 336, 335, 163, 334, 148, 261, |
317, 317, 318, 318, 320, 320, 342, 341, 340, 339, | | 261, 261, 309, 309, 310, 310, 312, 312, 333, 332, |
338, 337, 336, 335, 334, 333, 332, 331, 330, 329, | | 331, 330, 329, 328, 327, 326, 325, 324, 323, 322, |
328, 327, 326, 325, 324, 323, 322, 321, 319, 315, | | 321, 320, 319, 318, 317, 316, 315, 314, 313, 311, |
313, 312, 311, 310, 309, 308, 306, 305, 304, 302, | | 307, 305, 304, 302, 301, 300, 298, 296, 294, 293, |
| | |
300, 298, 297, 295, 294, 293, 292, 291, 290, 288, | | 291, 290, 289, 288, 287, 286, 284, 282, 281, 280, |
286, 285, 284, 282, 281, 280, 279, 278, 277, 276, | | 278, 277, 276, 275, 274, 273, 272, 270, 269, 268, |
274, 273, 272, 270, 268, 267, 264, 263, 262, 261, | | 266, 264, 263, 260, 259, 258, 257, 256, 255, 254, |
260, 259, 258, 257, 255, 254, 253, 252, 251, 250, | | 253, 251, 250, 249, 248, 247, 245, 244, 243, 242, |
248, 247, 246, 244, 242, 241, 239, 238, 237, 236, | | 240, 238, 237, 235, 234, 233, 232, 231, 230, 229, |
235, 234, 233, 232, 231, 230, 229, 227, 225, 224, | | 228, 227, 226, 224, 222, 221, 220, 219, 217, 216, |
223, 221, 220, 219, 218, 217, 216, 215, 213, 212, | | 215, 214, 213, 212, 211, 209, 208, 206, 204, 203, |
210, 208, 207, 206, 205, 204, 203, 202, 201, 200, | | 202, 201, 200, 199, 198, 197, 195, 194, 193, 192, |
198, 197, 196, 195, 194, 193, 192, 191, 190, 189, | | 191, 190, 189, 188, 187, 186, 185, 184, 183, 182, |
188, 187, 186, 185, 184, 183, 182, 181, 180, 179, | | 181, 180, 179, 178, 177, 176, 175, 174, 173, 172, |
| | |
178, 177, 176, 175, 174, 173, 172, 171, 170, 169, | | 171, 170, 169, 168, 167, 166, 165, 164, 162, 161, |
168, 166, 165, 164, 163, 162, 161, 160, 159, 158, | | 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, |
157, 156, 155, 154, 153, 151, 150, 149, 148, 147, | | 150, 149, 147, 146, 145, 144, 143, 141, 139, 138, |
145, 143, 142, 141, 140, 138, 137, 136, 135, 134, | | 137, 136, 134, 133, 132, 131, 130, 129, 128, 127, |
133, 132, 131, 130, 129, 128, 127, 126, 125, 124, | | 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, |
123, 122, 121, 120, 119, 118, 117, 116, 114, 113, | | 116, 115, 114, 113, 112, 110, 109, 108, 107, 106, |
112, 111, 110, 109, 108, 107, 106, 105, 104, 103, | | 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, |
102, 101, 100, 99, 98, 97, 96, 95, 94, 93, | | 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, |
92, 91, 90, 89, 88, 87, 85, 84, 83, 82, | | 85, 84, 83, 81, 80, 79, 78, 77, 76, 75, |
81, 80, 79, 78, 77, 76, 75, 74, 73, 72, | | 74, 73, 72, 71, 70, 69, 67, 66, 65, 64, |
| | |
71, 70, 69, 68, 67, 66, 65, 64, 63, 62, | | 63, 62, 61, 60, 59, 58, 56, 55, 54, 53, |
61, 59, 58, 57, 56, 55, 54, 53, 52, 51, | | 52, 51, 50, 49, 48, 47, 44, 43, 42, 41, |
50, 49, 46, 45, 44, 43, 42, 41, 40, 39, | | 40, 39, 38, 37, 36, 35, 34, 32, 31, 30, |
38, 37, 36, 35, 33, 32, 31, 30, 26, 22, | | 29, 25, 21, 20, 19, 18, 17, 16, 15, 14, |
21, 20, 19, 18, 17, 16, 15, 14, 13, 11, | | 13, 11, 8, 5, 308, 308, 308, 308, 308, 308, |
8, 5, 316, 316, 316, 316, 316, 316, 316, 316, | | 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, |
316, 316, 316, 316, 316, 316, 316, 316, 316, 316, | | 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, |
316, 316, 316, 316, 316, 316, 316, 316, 316, 316, | | 308, 308, 308, 308, 308, 308, 308 |
316, 316, 316, 316, 316 | | |
} ; | | } ; |
| | |
static yy_state_type yy_last_accepting_state; | | static yy_state_type yy_last_accepting_state; |
| | |
#line 2 "reader.l" | | #line 2 "reader.l" |
/* | | /* |
* static char *reader_l = | | * static char *reader_l = |
* "$Id: reader.c,v 1.7 2001/05/15 04:30:04 mardahl Exp $"; | | * "$Id: reader.c,v 1.8 2004/12/29 01:08:49 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
/* Don't have to link with -lfl with this */ | | /* Don't have to link with -lfl with this */ |
/* need yy_push_state, yy_pop_state */ | | /* need yy_push_state, yy_pop_state */ |
#define YY_STACK_USED 1 | | #define YY_STACK_USED 1 |
| | #line 623 "reader.c" |
| | |
/* Macros after this point can all be overridden by user definitions in | | /* Macros after this point can all be overridden by user definitions in |
* section 1. | | * section 1. |
| | |
YY_DECL | | YY_DECL |
{ | | { |
register yy_state_type yy_current_state; | | register yy_state_type yy_current_state; |
register char *yy_cp = NULL, *yy_bp = NULL; | | register char *yy_cp, *yy_bp; |
register int yy_act; | | register int yy_act; |
| | |
#line 63 "reader.l" | | #line 63 "reader.l" |
| | |
| | |
| | |
| | |
| | #line 790 "reader.c" |
| | |
if ( yy_init ) | | if ( yy_init ) |
{ | | { |
| | |
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
{ | | { |
yy_current_state = (int) yy_def[yy_current_state]; | | yy_current_state = (int) yy_def[yy_current_state]; |
if ( yy_current_state >= 317 ) | | if ( yy_current_state >= 309 ) |
yy_c = yy_meta[(unsigned int) yy_c]; | | yy_c = yy_meta[(unsigned int) yy_c]; |
} | | } |
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
++yy_cp; | | ++yy_cp; |
} | | } |
while ( yy_base[yy_current_state] != 353 ); | | while ( yy_base[yy_current_state] != 345 ); |
| | |
yy_find_action: | | yy_find_action: |
yy_act = yy_accept[yy_current_state]; | | yy_act = yy_accept[yy_current_state]; |
| | |
case 27: | | case 27: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 101 "reader.l" | | #line 101 "reader.l" |
RP->generate_treasure_now = IVAL; | | strcpy(RP->exit_on_final_map,rmap_yval()); |
YY_BREAK | | YY_BREAK |
case 28: | | case 28: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 104 "reader.l" | | #line 103 "reader.l" |
{/* ignore empty lines, newlines we don't do above */} | | {/* ignore empty lines, newlines we don't do above */} |
YY_BREAK | | YY_BREAK |
case 29: | | case 29: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 105 "reader.l" | | #line 104 "reader.l" |
{} | | {} |
YY_BREAK | | YY_BREAK |
case YY_STATE_EOF(INITIAL): | | case YY_STATE_EOF(INITIAL): |
case YY_STATE_EOF(MESSAGE): | | case YY_STATE_EOF(MESSAGE): |
#line 107 "reader.l" | | #line 106 "reader.l" |
{/* If we got an error, return the error. Otherwise, return that we got EOF */ | | {/* If we got an error, return the error. Otherwise, return that we got EOF */ |
if (rmap_lex_error!=0) return rmap_lex_error; else return LL_EOF;} | | if (rmap_lex_error!=0) return rmap_lex_error; else return LL_EOF;} |
YY_BREAK | | YY_BREAK |
case 30: | | case 30: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 109 "reader.l" | | #line 108 "reader.l" |
{ yyerror( "Unrecognized string"); rmap_lex_error= -1; } | | { yyerror( "Unrecognized string"); rmap_lex_error= -1; } |
YY_BREAK | | YY_BREAK |
case 31: | | case 31: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 110 "reader.l" | | #line 109 "reader.l" |
ECHO; | | ECHO; |
YY_BREAK | | YY_BREAK |
| | #line 1035 "reader.c" |
| | |
case YY_END_OF_BUFFER: | | case YY_END_OF_BUFFER: |
{ | | { |
| | |
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
{ | | { |
yy_current_state = (int) yy_def[yy_current_state]; | | yy_current_state = (int) yy_def[yy_current_state]; |
if ( yy_current_state >= 317 ) | | if ( yy_current_state >= 309 ) |
yy_c = yy_meta[(unsigned int) yy_c]; | | yy_c = yy_meta[(unsigned int) yy_c]; |
} | | } |
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
| | |
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
{ | | { |
yy_current_state = (int) yy_def[yy_current_state]; | | yy_current_state = (int) yy_def[yy_current_state]; |
if ( yy_current_state >= 317 ) | | if ( yy_current_state >= 309 ) |
yy_c = yy_meta[(unsigned int) yy_c]; | | yy_c = yy_meta[(unsigned int) yy_c]; |
} | | } |
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
yy_is_jam = (yy_current_state == 316); | | yy_is_jam = (yy_current_state == 308); |
| | |
return yy_is_jam ? 0 : yy_current_state; | | return yy_is_jam ? 0 : yy_current_state; |
} | | } |
| | |
return 0; | | return 0; |
} | | } |
#endif | | #endif |
#line 110 "reader.l" | | #line 109 "reader.l" |
| | |
| | |
/*int yyerror(char *s) | | /*int yyerror(char *s) |