From 295c0f16b97004c375e7df8cce68b7ced635a8a2 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 30 Jan 1999 12:29:01 +0000 Subject: [PATCH] These should have been removed a long time ago. --- gnu/dist/ld/ldgram.c | 2570 ------------------------------- gnu/dist/ld/ldgram.h | 118 -- gnu/dist/ld/ldlex.c | 3503 ------------------------------------------ 3 files changed, 6191 deletions(-) delete mode 100644 gnu/dist/ld/ldgram.c delete mode 100644 gnu/dist/ld/ldgram.h delete mode 100644 gnu/dist/ld/ldlex.c diff --git a/gnu/dist/ld/ldgram.c b/gnu/dist/ld/ldgram.c deleted file mode 100644 index 8b98a8bf27bf..000000000000 --- a/gnu/dist/ld/ldgram.c +++ /dev/null @@ -1,2570 +0,0 @@ - -/* A Bison parser, made from ./ldgram.y with Bison version GNU Bison version 1.24 - */ - -#define YYBISON 1 /* Identify Bison output. */ - -#define INT 258 -#define NAME 259 -#define LNAME 260 -#define PLUSEQ 261 -#define MINUSEQ 262 -#define MULTEQ 263 -#define DIVEQ 264 -#define LSHIFTEQ 265 -#define RSHIFTEQ 266 -#define ANDEQ 267 -#define OREQ 268 -#define OROR 269 -#define ANDAND 270 -#define EQ 271 -#define NE 272 -#define LE 273 -#define GE 274 -#define LSHIFT 275 -#define RSHIFT 276 -#define UNARY 277 -#define END 278 -#define ALIGN_K 279 -#define BLOCK 280 -#define BIND 281 -#define QUAD 282 -#define LONG 283 -#define SHORT 284 -#define BYTE 285 -#define SECTIONS 286 -#define PHDRS 287 -#define SIZEOF_HEADERS 288 -#define OUTPUT_FORMAT 289 -#define FORCE_COMMON_ALLOCATION 290 -#define OUTPUT_ARCH 291 -#define INCLUDE 292 -#define MEMORY 293 -#define DEFSYMEND 294 -#define NOLOAD 295 -#define DSECT 296 -#define COPY 297 -#define INFO 298 -#define OVERLAY 299 -#define DEFINED 300 -#define TARGET_K 301 -#define SEARCH_DIR 302 -#define MAP 303 -#define ENTRY 304 -#define NEXT 305 -#define SIZEOF 306 -#define ADDR 307 -#define LOADADDR 308 -#define MAX 309 -#define MIN 310 -#define STARTUP 311 -#define HLL 312 -#define SYSLIB 313 -#define FLOAT 314 -#define NOFLOAT 315 -#define NOCROSSREFS 316 -#define ORIGIN 317 -#define FILL 318 -#define LENGTH 319 -#define CREATE_OBJECT_SYMBOLS 320 -#define INPUT 321 -#define GROUP 322 -#define OUTPUT 323 -#define CONSTRUCTORS 324 -#define ALIGNMOD 325 -#define AT 326 -#define PROVIDE 327 -#define CHIP 328 -#define LIST 329 -#define SECT 330 -#define ABSOLUTE 331 -#define LOAD 332 -#define NEWLINE 333 -#define ENDWORD 334 -#define ORDER 335 -#define NAMEWORD 336 -#define FORMAT 337 -#define PUBLIC 338 -#define BASE 339 -#define ALIAS 340 -#define TRUNCATE 341 -#define REL 342 -#define INPUT_SCRIPT 343 -#define INPUT_MRI_SCRIPT 344 -#define INPUT_DEFSYM 345 -#define CASE 346 -#define EXTERN 347 -#define START 348 -#define VERS_TAG 349 -#define VERS_IDENTIFIER 350 -#define GLOBAL 351 -#define LOCAL 352 -#define VERSION 353 -#define INPUT_VERSION_SCRIPT 354 - -#line 21 "./ldgram.y" - -/* - - */ - -#define DONTDECLARE_MALLOC - -#include "bfd.h" -#include "sysdep.h" -#include "bfdlink.h" -#include "ld.h" -#include "ldexp.h" -#include "ldver.h" -#include "ldlang.h" -#include "ldemul.h" -#include "ldfile.h" -#include "ldmisc.h" -#include "ldmain.h" -#include "mri.h" -#include "ldlex.h" - -#ifndef YYDEBUG -#define YYDEBUG 1 -#endif - -static enum section_type sectype; - -lang_memory_region_type *region; - - -char *current_file; -boolean ldgram_want_filename = true; -boolean had_script = false; -boolean force_make_executable = false; - -boolean ldgram_in_script = false; -boolean ldgram_had_equals = false; - - -#define ERROR_NAME_MAX 20 -static char *error_names[ERROR_NAME_MAX]; -static int error_index; -#define PUSH_ERROR(x) if (error_index < ERROR_NAME_MAX) error_names[error_index] = x; error_index++; -#define POP_ERROR() error_index--; - -#line 66 "./ldgram.y" -typedef union { - bfd_vma integer; - char *name; - int token; - union etree_union *etree; - struct phdr_info - { - boolean filehdr; - boolean phdrs; - union etree_union *at; - union etree_union *flags; - } phdr; - struct lang_nocrossref *nocrossref; - struct lang_output_section_phdr_list *section_phdr; - struct bfd_elf_version_deps *deflist; - struct bfd_elf_version_expr *versyms; - struct bfd_elf_version_tree *versnode; -} YYSTYPE; - -#ifndef YYLTYPE -typedef - struct yyltype - { - int timestamp; - int first_line; - int first_column; - int last_line; - int last_column; - char *text; - } - yyltype; - -#define YYLTYPE yyltype -#endif - -#include - -#ifndef __cplusplus -#ifndef __STDC__ -#define const -#endif -#endif - - - -#define YYFINAL 540 -#define YYFLAG -32768 -#define YYNTBASE 123 - -#define YYTRANSLATE(x) ((unsigned)(x) <= 354 ? yytranslate[x] : 221) - -static const char yytranslate[] = { 0, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 121, 2, 2, 2, 34, 21, 2, 37, - 118, 32, 30, 116, 31, 2, 33, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 16, 117, 24, - 10, 25, 15, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 119, 2, 120, 20, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 47, 19, 48, 122, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, - 6, 7, 8, 9, 11, 12, 13, 14, 17, 18, - 22, 23, 26, 27, 28, 29, 35, 36, 38, 39, - 40, 41, 42, 43, 44, 45, 46, 49, 50, 51, - 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, - 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, - 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, - 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, - 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, - 112, 113, 114, 115 -}; - -#if YYDEBUG != 0 -static const short yyprhs[] = { 0, - 0, 3, 6, 9, 12, 14, 15, 20, 21, 24, - 28, 29, 32, 37, 39, 41, 44, 46, 51, 56, - 60, 63, 68, 72, 77, 82, 87, 92, 97, 100, - 103, 106, 111, 116, 119, 122, 125, 128, 129, 135, - 138, 139, 143, 146, 147, 149, 153, 155, 159, 160, - 162, 166, 168, 172, 173, 176, 179, 180, 182, 184, - 186, 188, 190, 192, 194, 196, 198, 200, 205, 210, - 215, 220, 229, 234, 236, 241, 242, 248, 253, 254, - 260, 265, 267, 271, 274, 276, 280, 283, 288, 291, - 294, 295, 300, 303, 305, 307, 309, 313, 317, 321, - 323, 324, 329, 330, 336, 337, 343, 344, 350, 353, - 355, 357, 359, 361, 366, 371, 374, 376, 377, 379, - 381, 383, 385, 387, 390, 391, 393, 395, 397, 399, - 401, 403, 405, 407, 409, 411, 415, 419, 426, 428, - 429, 435, 438, 442, 443, 444, 452, 456, 460, 464, - 465, 470, 475, 479, 483, 485, 490, 494, 495, 497, - 499, 500, 503, 507, 508, 511, 514, 518, 523, 526, - 529, 532, 536, 540, 544, 548, 552, 556, 560, 564, - 568, 572, 576, 580, 584, 588, 592, 596, 602, 606, - 610, 615, 617, 619, 624, 629, 634, 639, 644, 649, - 651, 658, 665, 670, 671, 672, 673, 674, 675, 676, - 692, 693, 694, 695, 696, 697, 714, 715, 716, 724, - 726, 728, 730, 732, 734, 738, 739, 743, 746, 753, - 764, 767, 769, 770, 772, 775, 776, 777, 781, 782, - 783, 784, 785, 797, 802, 803, 806, 807, 808, 815, - 817, 818, 822, 828, 829, 833, 834, 837, 838, 844, - 846, 849, 855, 862, 864, 867, 868, 871, 876, 881, - 890, 892 -}; - -static const short yyrhs[] = { 104, - 137, 0, 105, 127, 0, 115, 212, 0, 106, 125, - 0, 4, 0, 0, 126, 4, 10, 178, 0, 0, - 128, 129, 0, 129, 130, 94, 0, 0, 89, 178, - 0, 89, 178, 116, 178, 0, 4, 0, 90, 0, - 96, 132, 0, 95, 0, 99, 4, 10, 178, 0, - 99, 4, 116, 178, 0, 99, 4, 178, 0, 98, - 4, 0, 91, 4, 116, 178, 0, 91, 4, 178, - 0, 91, 4, 10, 178, 0, 38, 4, 10, 178, - 0, 38, 4, 116, 178, 0, 86, 4, 10, 178, - 0, 86, 4, 116, 178, 0, 92, 134, 0, 93, - 133, 0, 97, 4, 0, 101, 4, 116, 4, 0, - 101, 4, 116, 3, 0, 100, 178, 0, 102, 3, - 0, 107, 135, 0, 108, 136, 0, 0, 53, 124, - 131, 129, 36, 0, 109, 4, 0, 0, 132, 116, - 4, 0, 132, 4, 0, 0, 4, 0, 133, 116, - 4, 0, 4, 0, 134, 116, 4, 0, 0, 4, - 0, 135, 116, 4, 0, 4, 0, 136, 116, 4, - 0, 0, 138, 139, 0, 139, 140, 0, 0, 162, - 0, 144, 0, 204, 0, 169, 0, 170, 0, 172, - 0, 174, 0, 146, 0, 214, 0, 117, 0, 62, - 37, 4, 118, 0, 63, 37, 124, 118, 0, 84, - 37, 124, 118, 0, 50, 37, 4, 118, 0, 50, - 37, 4, 116, 4, 116, 4, 118, 0, 52, 37, - 4, 118, 0, 51, 0, 82, 37, 143, 118, 0, - 0, 83, 141, 37, 143, 118, 0, 64, 37, 124, - 118, 0, 0, 53, 124, 142, 139, 36, 0, 77, - 37, 175, 118, 0, 4, 0, 143, 116, 4, 0, - 143, 4, 0, 5, 0, 143, 116, 5, 0, 143, - 5, 0, 45, 47, 145, 48, 0, 145, 180, 0, - 145, 146, 0, 0, 65, 37, 4, 118, 0, 160, - 159, 0, 4, 0, 32, 0, 15, 0, 147, 161, - 4, 0, 147, 161, 32, 0, 147, 161, 15, 0, - 4, 0, 0, 119, 149, 147, 120, 0, 0, 4, - 150, 37, 147, 118, 0, 0, 15, 151, 37, 147, - 118, 0, 0, 32, 152, 37, 147, 118, 0, 160, - 159, 0, 81, 0, 117, 0, 85, 0, 148, 0, - 156, 37, 176, 118, 0, 79, 37, 176, 118, 0, - 154, 153, 0, 153, 0, 0, 154, 0, 41, 0, - 42, 0, 43, 0, 44, 0, 10, 176, 0, 0, - 6, 0, 7, 0, 8, 0, 9, 0, 11, 0, - 12, 0, 13, 0, 14, 0, 117, 0, 116, 0, - 4, 10, 176, 0, 4, 158, 176, 0, 88, 37, - 4, 10, 176, 118, 0, 116, 0, 0, 54, 47, - 164, 163, 48, 0, 163, 164, 0, 163, 116, 164, - 0, 0, 0, 4, 165, 168, 16, 166, 161, 167, - 0, 78, 10, 176, 0, 80, 10, 176, 0, 37, - 4, 118, 0, 0, 72, 37, 124, 118, 0, 73, - 37, 171, 118, 0, 73, 37, 118, 0, 171, 161, - 124, 0, 124, 0, 74, 37, 173, 118, 0, 173, - 161, 124, 0, 0, 75, 0, 76, 0, 0, 4, - 175, 0, 4, 116, 175, 0, 0, 177, 178, 0, - 31, 178, 0, 37, 178, 118, 0, 66, 37, 178, - 118, 0, 121, 178, 0, 30, 178, 0, 122, 178, - 0, 178, 32, 178, 0, 178, 33, 178, 0, 178, - 34, 178, 0, 178, 30, 178, 0, 178, 31, 178, - 0, 178, 28, 178, 0, 178, 29, 178, 0, 178, - 22, 178, 0, 178, 23, 178, 0, 178, 26, 178, - 0, 178, 27, 178, 0, 178, 24, 178, 0, 178, - 25, 178, 0, 178, 21, 178, 0, 178, 20, 178, - 0, 178, 19, 178, 0, 178, 15, 178, 16, 178, - 0, 178, 18, 178, 0, 178, 17, 178, 0, 61, - 37, 4, 118, 0, 3, 0, 49, 0, 67, 37, - 4, 118, 0, 68, 37, 4, 118, 0, 69, 37, - 4, 118, 0, 92, 37, 178, 118, 0, 38, 37, - 178, 118, 0, 39, 37, 178, 118, 0, 4, 0, - 70, 37, 178, 116, 178, 118, 0, 71, 37, 178, - 116, 178, 118, 0, 87, 37, 178, 118, 0, 0, - 0, 0, 0, 0, 0, 4, 181, 195, 179, 182, - 47, 183, 155, 48, 184, 198, 199, 157, 185, 161, - 0, 0, 0, 0, 0, 0, 60, 186, 196, 197, - 179, 187, 47, 188, 200, 48, 189, 198, 199, 157, - 190, 161, 0, 0, 0, 83, 191, 195, 192, 47, - 145, 48, 0, 56, 0, 57, 0, 58, 0, 59, - 0, 60, 0, 37, 193, 118, 0, 0, 178, 194, - 16, 0, 194, 16, 0, 40, 37, 178, 118, 194, - 16, 0, 40, 37, 178, 118, 39, 37, 178, 118, - 194, 16, 0, 178, 16, 0, 16, 0, 0, 77, - 0, 25, 4, 0, 0, 0, 199, 16, 4, 0, - 0, 0, 0, 0, 200, 4, 201, 47, 155, 48, - 202, 199, 157, 203, 161, 0, 46, 47, 205, 48, - 0, 0, 205, 206, 0, 0, 0, 4, 207, 209, - 210, 208, 117, 0, 178, 0, 0, 4, 211, 210, - 0, 87, 37, 178, 118, 210, 0, 0, 37, 178, - 118, 0, 0, 213, 216, 0, 0, 215, 114, 47, - 216, 48, 0, 217, 0, 216, 217, 0, 110, 47, - 219, 48, 117, 0, 110, 47, 219, 48, 218, 117, - 0, 110, 0, 218, 110, 0, 0, 220, 117, 0, - 112, 16, 220, 117, 0, 113, 16, 220, 117, 0, - 112, 16, 220, 117, 113, 16, 220, 117, 0, 111, - 0, 220, 117, 111, 0 -}; - -#endif - -#if YYDEBUG != 0 -static const short yyrline[] = { 0, - 142, 144, 145, 146, 150, 153, 155, 162, 168, 175, - 177, 180, 182, 183, 186, 189, 190, 191, 193, 195, - 197, 199, 201, 203, 205, 207, 209, 211, 213, 214, - 215, 217, 219, 221, 223, 225, 226, 227, 228, 229, - 231, 234, 236, 237, 240, 243, 246, 249, 253, 255, - 256, 259, 262, 266, 271, 277, 279, 284, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 297, 299, - 301, 304, 306, 308, 310, 311, 313, 315, 317, 318, - 319, 325, 329, 332, 335, 338, 341, 346, 350, 352, - 353, 356, 359, 364, 367, 369, 371, 373, 375, 379, - 384, 389, 390, 394, 395, 401, 402, 406, 409, 411, - 415, 416, 421, 422, 427, 437, 439, 442, 444, 447, - 450, 452, 454, 458, 466, 471, 474, 476, 478, 480, - 482, 484, 486, 491, 491, 495, 500, 508, 515, 516, - 519, 523, 525, 526, 530, 532, 535, 541, 550, 555, - 559, 564, 566, 570, 573, 578, 580, 583, 586, 589, - 593, 598, 607, 618, 620, 623, 626, 628, 630, 632, - 634, 637, 639, 641, 643, 645, 647, 649, 651, 653, - 655, 657, 659, 661, 663, 665, 667, 669, 671, 673, - 675, 677, 679, 682, 684, 686, 688, 690, 692, 694, - 696, 698, 703, 705, 708, 710, 712, 718, 719, 725, - 725, 727, 730, 734, 736, 742, 742, 748, 752, 755, - 757, 758, 759, 760, 763, 765, 768, 770, 771, 776, - 780, 782, 785, 788, 792, 795, 798, 803, 816, 818, - 824, 826, 832, 834, 838, 840, 843, 845, 847, 853, - 883, 888, 900, 907, 912, 920, 926, 934, 938, 944, - 946, 949, 954, 960, 965, 971, 976, 980, 984, 988, - 994, 999 -}; - -static const char * const yytname[] = { "$","error","$undefined.","INT","NAME", -"LNAME","PLUSEQ","MINUSEQ","MULTEQ","DIVEQ","'='","LSHIFTEQ","RSHIFTEQ","ANDEQ", -"OREQ","'?'","':'","OROR","ANDAND","'|'","'^'","'&'","EQ","NE","'<'","'>'","LE", -"GE","LSHIFT","RSHIFT","'+'","'-'","'*'","'/'","'%'","UNARY","END","'('","ALIGN_K", -"BLOCK","BIND","QUAD","LONG","SHORT","BYTE","SECTIONS","PHDRS","'{'","'}'","SIZEOF_HEADERS", -"OUTPUT_FORMAT","FORCE_COMMON_ALLOCATION","OUTPUT_ARCH","INCLUDE","MEMORY","DEFSYMEND", -"NOLOAD","DSECT","COPY","INFO","OVERLAY","DEFINED","TARGET_K","SEARCH_DIR","MAP", -"ENTRY","NEXT","SIZEOF","ADDR","LOADADDR","MAX","MIN","STARTUP","HLL","SYSLIB", -"FLOAT","NOFLOAT","NOCROSSREFS","ORIGIN","FILL","LENGTH","CREATE_OBJECT_SYMBOLS", -"INPUT","GROUP","OUTPUT","CONSTRUCTORS","ALIGNMOD","AT","PROVIDE","CHIP","LIST", -"SECT","ABSOLUTE","LOAD","NEWLINE","ENDWORD","ORDER","NAMEWORD","FORMAT","PUBLIC", -"BASE","ALIAS","TRUNCATE","REL","INPUT_SCRIPT","INPUT_MRI_SCRIPT","INPUT_DEFSYM", -"CASE","EXTERN","START","VERS_TAG","VERS_IDENTIFIER","GLOBAL","LOCAL","VERSION", -"INPUT_VERSION_SCRIPT","','","';'","')'","'['","']'","'!'","'~'","file","filename", -"defsym_expr","@1","mri_script_file","@2","mri_script_lines","mri_script_command", -"@3","ordernamelist","mri_load_name_list","mri_abs_name_list","casesymlist", -"extern_name_list","script_file","@4","ifile_list","ifile_p1","@5","@6","input_list", -"sections","sec_or_group_p1","statement_anywhere","file_NAME_list","input_section_spec", -"@7","@8","@9","@10","statement","statement_list","statement_list_opt","length", -"fill_opt","assign_op","end","assignment","opt_comma","memory","memory_spec_list", -"memory_spec","@11","origin_spec","length_spec","attributes_opt","startup","high_level_library", -"high_level_library_NAME_list","low_level_library","low_level_library_NAME_list", -"floating_point_support","nocrossref_list","mustbe_exp","@12","exp","opt_at", -"section","@13","@14","@15","@16","@17","@18","@19","@20","@21","@22","@23", -"@24","type","atype","opt_exp_with_type","opt_exp_without_type","opt_nocrossrefs", -"memspec_opt","phdr_opt","overlay_section","@25","@26","@27","phdrs","phdr_list", -"phdr","@28","@29","phdr_type","phdr_qualifiers","phdr_val","version_script_file", -"@30","version","@31","vers_nodes","vers_node","verdep","vers_tag","vers_defns", -"" -}; -#endif - -static const short yyr1[] = { 0, - 123, 123, 123, 123, 124, 126, 125, 128, 127, 129, - 129, 130, 130, 130, 130, 130, 130, 130, 130, 130, - 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, - 130, 130, 130, 130, 130, 130, 130, 131, 130, 130, - 130, 132, 132, 132, 133, 133, 134, 134, 135, 135, - 135, 136, 136, 138, 137, 139, 139, 140, 140, 140, - 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, - 140, 140, 140, 140, 140, 141, 140, 140, 142, 140, - 140, 143, 143, 143, 143, 143, 143, 144, 145, 145, - 145, 146, 146, 147, 147, 147, 147, 147, 147, 148, - 149, 148, 150, 148, 151, 148, 152, 148, 153, 153, - 153, 153, 153, 153, 153, 154, 154, 155, 155, 156, - 156, 156, 156, 157, 157, 158, 158, 158, 158, 158, - 158, 158, 158, 159, 159, 160, 160, 160, 161, 161, - 162, 163, 163, 163, 165, 164, 166, 167, 168, 168, - 169, 170, 170, 171, 171, 172, 173, 173, 174, 174, - 175, 175, 175, 177, 176, 178, 178, 178, 178, 178, - 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, - 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, - 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, - 178, 178, 179, 179, 181, 182, 183, 184, 185, 180, - 186, 187, 188, 189, 190, 180, 191, 192, 180, 193, - 193, 193, 193, 193, 194, 194, 195, 195, 195, 195, - 196, 196, 197, 197, 198, 198, 199, 199, 200, 201, - 202, 203, 200, 204, 205, 205, 207, 208, 206, 209, - 210, 210, 210, 211, 211, 213, 212, 215, 214, 216, - 216, 217, 217, 218, 218, 219, 219, 219, 219, 219, - 220, 220 -}; - -static const short yyr2[] = { 0, - 2, 2, 2, 2, 1, 0, 4, 0, 2, 3, - 0, 2, 4, 1, 1, 2, 1, 4, 4, 3, - 2, 4, 3, 4, 4, 4, 4, 4, 2, 2, - 2, 4, 4, 2, 2, 2, 2, 0, 5, 2, - 0, 3, 2, 0, 1, 3, 1, 3, 0, 1, - 3, 1, 3, 0, 2, 2, 0, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, - 4, 8, 4, 1, 4, 0, 5, 4, 0, 5, - 4, 1, 3, 2, 1, 3, 2, 4, 2, 2, - 0, 4, 2, 1, 1, 1, 3, 3, 3, 1, - 0, 4, 0, 5, 0, 5, 0, 5, 2, 1, - 1, 1, 1, 4, 4, 2, 1, 0, 1, 1, - 1, 1, 1, 2, 0, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 3, 3, 6, 1, 0, - 5, 2, 3, 0, 0, 7, 3, 3, 3, 0, - 4, 4, 3, 3, 1, 4, 3, 0, 1, 1, - 0, 2, 3, 0, 2, 2, 3, 4, 2, 2, - 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 5, 3, 3, - 4, 1, 1, 4, 4, 4, 4, 4, 4, 1, - 6, 6, 4, 0, 0, 0, 0, 0, 0, 15, - 0, 0, 0, 0, 0, 16, 0, 0, 7, 1, - 1, 1, 1, 1, 3, 0, 3, 2, 6, 10, - 2, 1, 0, 1, 2, 0, 0, 3, 0, 0, - 0, 0, 11, 4, 0, 2, 0, 0, 6, 1, - 0, 3, 5, 0, 3, 0, 2, 0, 5, 1, - 2, 5, 6, 1, 2, 0, 2, 4, 4, 8, - 1, 3 -}; - -static const short yydefact[] = { 0, - 54, 8, 6, 256, 1, 57, 2, 11, 4, 0, - 3, 0, 55, 9, 0, 0, 257, 260, 0, 0, - 0, 0, 74, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 159, 160, 0, 0, 76, 0, 0, - 67, 56, 59, 65, 0, 58, 61, 62, 63, 64, - 60, 66, 0, 14, 0, 0, 0, 0, 15, 0, - 0, 0, 17, 44, 0, 0, 0, 0, 0, 0, - 49, 0, 0, 0, 0, 266, 261, 126, 127, 128, - 129, 164, 130, 131, 132, 133, 164, 91, 245, 0, - 0, 5, 79, 0, 0, 0, 0, 0, 0, 0, - 158, 161, 0, 0, 0, 0, 135, 134, 93, 0, - 0, 38, 0, 192, 200, 0, 0, 0, 0, 0, - 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 12, 0, 47, 29, 45, 30, 16, 31, 21, - 0, 34, 0, 35, 50, 36, 52, 37, 40, 10, - 7, 271, 0, 0, 0, 0, 136, 0, 137, 0, - 0, 0, 0, 57, 145, 144, 0, 0, 0, 0, - 0, 153, 155, 140, 140, 161, 0, 82, 85, 0, - 0, 0, 0, 0, 0, 0, 11, 0, 0, 170, - 166, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 169, 171, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 23, 0, 0, 43, - 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, - 267, 165, 205, 88, 211, 217, 90, 89, 247, 244, - 246, 0, 71, 73, 258, 150, 0, 68, 69, 78, - 92, 151, 139, 152, 0, 156, 0, 161, 162, 81, - 84, 87, 0, 75, 0, 70, 164, 0, 25, 26, - 41, 27, 28, 167, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 190, 189, 187, 186, 185, - 179, 180, 183, 184, 181, 182, 177, 178, 175, 176, - 172, 173, 174, 13, 24, 22, 48, 46, 42, 18, - 19, 33, 32, 51, 53, 0, 0, 264, 262, 0, - 272, 226, 0, 226, 0, 0, 80, 0, 0, 141, - 0, 142, 154, 157, 163, 83, 86, 77, 0, 259, - 39, 198, 199, 191, 168, 194, 195, 196, 0, 0, - 197, 0, 268, 269, 265, 263, 0, 0, 226, 0, - 204, 232, 0, 233, 218, 250, 251, 0, 0, 0, - 143, 138, 0, 0, 188, 0, 220, 221, 222, 223, - 224, 0, 0, 0, 0, 228, 0, 206, 231, 234, - 204, 0, 254, 0, 248, 0, 149, 0, 140, 201, - 202, 0, 225, 0, 227, 0, 0, 212, 91, 0, - 251, 0, 0, 72, 164, 0, 0, 226, 0, 207, - 0, 0, 0, 252, 0, 249, 147, 0, 146, 270, - 0, 0, 203, 118, 213, 219, 255, 251, 164, 0, - 229, 100, 105, 107, 120, 121, 122, 123, 0, 110, - 112, 111, 101, 113, 117, 119, 0, 0, 0, 239, - 253, 148, 0, 0, 0, 0, 164, 0, 116, 208, - 164, 109, 0, 226, 0, 0, 0, 0, 94, 96, - 95, 140, 236, 0, 240, 214, 0, 140, 140, 140, - 115, 102, 0, 0, 237, 114, 0, 236, 230, 104, - 106, 108, 97, 99, 98, 235, 125, 118, 237, 164, - 0, 209, 0, 125, 124, 238, 140, 241, 215, 210, - 237, 140, 125, 216, 242, 140, 243, 0, 0, 0 -}; - -static const short yydefgoto[] = { 538, - 93, 9, 10, 7, 8, 14, 74, 187, 138, 137, - 135, 146, 148, 5, 6, 13, 42, 104, 164, 180, - 43, 160, 44, 492, 464, 478, 474, 475, 476, 465, - 466, 467, 468, 522, 87, 109, 45, 503, 46, 257, - 166, 256, 409, 439, 339, 47, 48, 174, 49, 175, - 50, 177, 157, 158, 192, 398, 248, 332, 417, 444, - 493, 527, 333, 431, 470, 508, 532, 334, 402, 392, - 370, 371, 374, 401, 505, 517, 483, 507, 531, 536, - 51, 161, 251, 335, 423, 377, 405, 421, 11, 12, - 52, 53, 17, 18, 330, 155, 156 -}; - -static const short yypact[] = { -23, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 74, --32768, -14, 462, 524, 90, 64, -14,-32768, 1135, 67, - 87, 103,-32768, 105, 142, 136, 169, 173, 188, 199, - 201, 211, 212,-32768,-32768, 213, 215,-32768, 216, 217, --32768,-32768,-32768,-32768, 85,-32768,-32768,-32768,-32768,-32768, --32768,-32768, 78,-32768, 251, 142, 258, 411,-32768, 260, - 270, 276,-32768,-32768, 277, 279, 280, 411, 281, 285, - 287, 288, 289, 195, 411, -9,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 290, - 293,-32768,-32768, 294, 295, 142, 142, 296, 142, 12, --32768, 297, 214, 267, 142, 304,-32768,-32768,-32768, 262, - 7,-32768, 9,-32768,-32768, 411, 411, 411, 273, 278, --32768, 291, 292, 298, 300, 302, 303, 306, 311, 411, - 411, 890, 174,-32768, 200,-32768, 202, 6,-32768,-32768, - 190, 990, 209,-32768,-32768, 210,-32768, 218,-32768,-32768, - 990,-32768, 301, 314, 308, 224,-32768, 411,-32768, 143, - 20, -75, 243,-32768,-32768,-32768, 248, 249, 250, 252, - 253,-32768,-32768, -41, 91, 11, 256,-32768,-32768, 8, - 214, 264, 317, -14, 411, 411,-32768, 411, 411,-32768, --32768, 646, 411, 411, 327, 411, 329, 353, 365, 411, - 411, 411,-32768,-32768, 411, 411, 411, 411, 411, 411, - 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, - 411, 411, 411, 411, 411, 411, 990, 372, 373,-32768, - 374, 411, 411, 990, 230, 379, 380, 274, 274, -59, - 275, 990, 1135,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768, 383,-32768,-32768, 518, 351, 22,-32768,-32768,-32768, --32768,-32768,-32768,-32768, 142,-32768, 142, 297,-32768,-32768, --32768,-32768, 242,-32768, 17,-32768,-32768, -25, 990, 990, - 551, 990, 990,-32768, 666, 686, 271, 706, 282, 284, - 299, 910, 930, 726, 1032, 1009, 1068, 970, 1082, 1095, - 1106, 1106, 239, 239, 239, 239, 155, 155, 140, 140, --32768,-32768,-32768, 990, 990, 990,-32768,-32768,-32768, 990, - 990,-32768,-32768,-32768,-32768, 305, 307,-32768,-32768, -54, --32768, 283, 342, 283, 411, 309,-32768, 388, 381,-32768, - 294,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 310,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 411, 411, --32768, 411, -49, 275,-32768,-32768, 49, 358, 952, 382, - 312,-32768, 1052, 319,-32768, 990, 10, 397, 313, 328, --32768,-32768, 748, 768, 990, 391,-32768,-32768,-32768,-32768, --32768, 318, 411, 139, 402,-32768, 384,-32768,-32768,-32768, - 312, 376, 389, 392,-32768, 320,-32768, 409, 316,-32768, --32768, 274,-32768, 788,-32768, 411, 390,-32768,-32768, 411, - 10, 411, 322,-32768,-32768, 340, 323, 54, 808,-32768, - 396, 259, 828,-32768, 850,-32768,-32768, 420,-32768, 275, - 398, 429,-32768, 412,-32768,-32768,-32768, 10,-32768, 411, --32768, 24,-32768,-32768,-32768,-32768,-32768,-32768, 410,-32768, --32768,-32768,-32768,-32768,-32768, 412, 403, 415, 85,-32768, --32768,-32768, 870, 421, 422, 424,-32768, 35,-32768,-32768, --32768,-32768, 23, 425, 35, 35, 35, 339,-32768,-32768, --32768, -26, 440, 349,-32768,-32768, 430, 99, 106, 114, --32768,-32768, 40, 464,-32768,-32768, 423, 440,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768, 79, 412,-32768,-32768, - 465,-32768, 426, 79,-32768,-32768, 316,-32768,-32768,-32768, --32768, 316, 79,-32768,-32768, 316,-32768, 471, 473,-32768 -}; - -static const short yypgoto[] = {-32768, - -51,-32768,-32768,-32768,-32768, 315,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768, 321,-32768,-32768,-32768, 324, --32768, 56, -153, -306,-32768,-32768,-32768,-32768,-32768, 18, --32768, -42,-32768, -467,-32768, 14, -419, -172,-32768,-32768, - -228,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768, -156, -87,-32768, -57, 86,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -363, 152,-32768,-32768, -20, -491,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768, -379,-32768,-32768,-32768, --32768,-32768, 325, -13,-32768,-32768, -230 -}; - - -#define YYLAST 1149 - - -static const short yytable[] = { 159, - 132, 265, 267, 77, 112, 395, 247, 326, 327, 230, - 142, 271, 272, 403, 176, 92, 185, 151, 188, 269, - 271, 272, 350, 249, 469, 165, 495, 524, 342, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 489, 533, - 252, 434, 253, 513, 168, 169, 469, 171, 173, 490, - 328, 114, 115, 182, 514, 365, 529, 329, 190, 191, - -103, 331, 366, 386, 442, 535, 491, 250, 471, 340, - 496, 515, 203, 204, 263, 227, 264, 15, 116, 117, - 1, 2, 3, 234, 16, 118, 119, 120, 520, 263, - 394, 4, 441, 502, 521, 16, 404, 121, 469, 75, - 242, 152, 153, 154, 387, 388, 389, 390, 391, 122, - 76, 345, 381, 88, 123, 124, 125, 126, 127, 128, - 497, 231, 186, 273, 189, 274, 268, 279, 280, 172, - 282, 283, 273, 89, 348, 285, 286, 341, 288, 90, - 129, 91, 292, 293, 294, 92, 243, 295, 296, 297, - 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, - 308, 309, 310, 311, 312, 313, 314, 315, 316, 130, - 131, 221, 222, 223, 320, 321, 114, 115, 498, 499, - 500, 427, 94, 225, 219, 220, 221, 222, 223, 349, - 244, 110, 114, 115, 387, 388, 389, 390, 391, 232, - 107, 108, 245, 116, 117, 95, 263, 30, 266, 96, - 118, 119, 120, 343, 263, 344, 510, 178, 179, 116, - 117, 263, 121, 511, 97, 246, 118, 119, 120, 263, - 40, 512, 322, 323, 122, 98, 426, 99, 121, 123, - 124, 125, 126, 127, 128, 346, 347, 100, 101, 102, - 122, 103, 105, 106, 111, 123, 124, 125, 126, 127, - 128, 113, 243, 133, 77, 129, 217, 218, 219, 220, - 221, 222, 223, 134, 369, 373, 369, 376, 247, 136, - 139, 129, 140, 141, 143, 114, 115, 144, 150, 226, - 145, 147, 149, 162, 130, 131, 163, 165, 167, 170, - 176, 383, 384, 181, 385, 233, 446, 183, 184, 193, - 130, 131, 116, 117, 194, 228, 238, 229, 245, 367, - 119, 120, 368, 30, 235, 236, 277, 195, 196, 239, - 287, 121, 289, 237, 197, 414, 198, 437, 199, 200, - 241, 246, 201, 122, 114, 115, 40, 202, 123, 124, - 125, 126, 127, 128, 530, 240, 290, 372, 429, 534, - 254, 472, 433, 537, 435, 258, 259, 260, 291, 261, - 262, 116, 117, 270, 129, 317, 318, 319, 118, 119, - 120, 276, 324, 325, 152, 331, 336, 338, 354, 488, - 121, 379, 473, 494, 393, 400, 380, 396, 397, 356, - 406, 357, 122, 130, 131, 408, 412, 123, 124, 125, - 126, 127, 128, 114, 115, 452, 358, 415, 425, 438, - 416, 363, 419, 364, 378, 420, 453, 382, 422, 449, - 407, 263, 525, 129, 450, 413, 430, 424, 436, 440, - 116, 117, 445, 454, 451, 509, 477, 118, 119, 120, - 480, 481, 455, 456, 457, 458, 501, 485, 486, 121, - 487, 394, 130, 131, 504, 19, 506, 516, 526, 518, - 539, 122, 540, 528, 432, 523, 123, 124, 125, 126, - 127, 128, 482, 479, 255, 375, 418, 519, 0, 0, - 459, 0, 460, 0, 0, 0, 461, 0, 0, 40, - 0, 281, 129, 0, 275, 0, 20, 21, 278, 0, - 0, 22, 23, 24, 25, 26, 0, 0, 0, 0, - 0, 19, 0, 27, 28, 29, 30, 54, 462, 0, - 463, 130, 131, 31, 32, 33, 34, 35, 36, 0, - 0, 0, 0, 37, 38, 39, 0, 0, 0, 40, - 0, 0, 0, 337, 54, 0, 0, 0, 0, 0, - 0, 55, 20, 21, 0, 0, 0, 22, 23, 24, - 25, 26, 0, 0, 0, -258, 56, 0, 41, 27, - 28, 29, 30, 0, 0, 0, 351, 0, 55, 31, - 32, 33, 34, 35, 36, 0, 0, 0, 0, 37, - 38, 39, 0, 56, 0, 40, 0, 0, 0, 57, - 0, 0, 58, 59, 60, 61, 62, -41, 63, 64, - 65, 66, 67, 68, 69, 70, 0, 0, 0, 0, - 71, 72, 73, 0, 41, 0, 57, 0, 0, 58, - 59, 60, 61, 62, 0, 63, 64, 65, 66, 67, - 68, 69, 70, 0, 0, 0, 0, 71, 72, 73, - 205, 0, 206, 207, 208, 209, 210, 211, 212, 213, - 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, - 205, 0, 206, 207, 208, 209, 210, 211, 212, 213, - 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, - 205, 0, 206, 207, 208, 209, 210, 211, 212, 213, - 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, - 205, 0, 206, 207, 208, 209, 210, 211, 212, 213, - 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, - 205, 0, 206, 207, 208, 209, 210, 211, 212, 213, - 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, - 0, 0, 205, 284, 206, 207, 208, 209, 210, 211, - 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, - 222, 223, 205, 352, 206, 207, 208, 209, 210, 211, - 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, - 222, 223, 205, 353, 206, 207, 208, 209, 210, 211, - 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, - 222, 223, 205, 355, 206, 207, 208, 209, 210, 211, - 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, - 222, 223, 205, 361, 206, 207, 208, 209, 210, 211, - 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, - 222, 223, 0, 0, 205, 410, 206, 207, 208, 209, - 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, - 220, 221, 222, 223, 205, 411, 206, 207, 208, 209, - 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, - 220, 221, 222, 223, 205, 428, 206, 207, 208, 209, - 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, - 220, 221, 222, 223, 205, 443, 206, 207, 208, 209, - 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, - 220, 221, 222, 223, 205, 447, 206, 207, 208, 209, - 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, - 220, 221, 222, 223, 0, 0, 205, 448, 206, 207, - 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, - 218, 219, 220, 221, 222, 223, 0, 484, 394, 209, - 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, - 220, 221, 222, 223, 205, 224, 206, 207, 208, 209, - 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, - 220, 221, 222, 223, 0, 359, 207, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 0, 0, 360, 205, 362, 206, 207, - 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, - 218, 219, 220, 221, 222, 223, 205, 399, 206, 207, - 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, - 218, 219, 220, 221, 222, 223, 208, 209, 210, 211, - 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, - 222, 223, 210, 211, 212, 213, 214, 215, 216, 217, - 218, 219, 220, 221, 222, 223, 211, 212, 213, 214, - 215, 216, 217, 218, 219, 220, 221, 222, 223, 213, - 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, - 78, 79, 80, 81, 82, 83, 84, 85, 86 -}; - -static const short yycheck[] = { 87, - 58, 174, 175, 17, 56, 369, 160, 238, 239, 4, - 68, 4, 5, 4, 4, 4, 10, 75, 10, 176, - 4, 5, 48, 4, 444, 4, 4, 519, 257, 6, - 7, 8, 9, 10, 11, 12, 13, 14, 4, 531, - 116, 421, 118, 4, 96, 97, 466, 99, 100, 15, - 110, 3, 4, 105, 15, 110, 524, 117, 116, 117, - 37, 111, 117, 113, 428, 533, 32, 48, 448, 48, - 48, 32, 130, 131, 116, 133, 118, 4, 30, 31, - 104, 105, 106, 141, 110, 37, 38, 39, 10, 116, - 37, 115, 39, 120, 16, 110, 87, 49, 518, 10, - 158, 111, 112, 113, 56, 57, 58, 59, 60, 61, - 47, 268, 341, 47, 66, 67, 68, 69, 70, 71, - 484, 116, 116, 116, 116, 118, 116, 185, 186, 118, - 188, 189, 116, 47, 118, 193, 194, 116, 196, 37, - 92, 37, 200, 201, 202, 4, 4, 205, 206, 207, - 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, - 218, 219, 220, 221, 222, 223, 224, 225, 226, 121, - 122, 32, 33, 34, 232, 233, 3, 4, 485, 486, - 487, 412, 47, 10, 30, 31, 32, 33, 34, 277, - 48, 114, 3, 4, 56, 57, 58, 59, 60, 10, - 116, 117, 60, 30, 31, 37, 116, 65, 118, 37, - 37, 38, 39, 265, 116, 267, 118, 4, 5, 30, - 31, 116, 49, 118, 37, 83, 37, 38, 39, 116, - 88, 118, 3, 4, 61, 37, 409, 37, 49, 66, - 67, 68, 69, 70, 71, 4, 5, 37, 37, 37, - 61, 37, 37, 37, 4, 66, 67, 68, 69, 70, - 71, 4, 4, 4, 278, 92, 28, 29, 30, 31, - 32, 33, 34, 4, 332, 333, 334, 335, 432, 4, - 4, 92, 4, 4, 4, 3, 4, 3, 94, 116, - 4, 4, 4, 4, 121, 122, 4, 4, 4, 4, - 4, 359, 360, 37, 362, 116, 48, 4, 47, 37, - 121, 122, 30, 31, 37, 116, 16, 116, 60, 37, - 38, 39, 40, 65, 116, 116, 10, 37, 37, 16, - 4, 49, 4, 116, 37, 393, 37, 425, 37, 37, - 117, 83, 37, 61, 3, 4, 88, 37, 66, 67, - 68, 69, 70, 71, 527, 48, 4, 16, 416, 532, - 118, 449, 420, 536, 422, 118, 118, 118, 4, 118, - 118, 30, 31, 118, 92, 4, 4, 4, 37, 38, - 39, 118, 4, 4, 111, 111, 4, 37, 118, 477, - 49, 4, 450, 481, 37, 77, 16, 16, 87, 118, - 4, 118, 61, 121, 122, 78, 16, 66, 67, 68, - 69, 70, 71, 3, 4, 4, 118, 16, 10, 80, - 37, 117, 47, 117, 116, 37, 15, 118, 37, 10, - 118, 116, 520, 92, 37, 118, 47, 118, 117, 117, - 30, 31, 47, 32, 16, 16, 37, 37, 38, 39, - 48, 37, 41, 42, 43, 44, 118, 37, 37, 49, - 37, 37, 121, 122, 25, 4, 118, 4, 4, 47, - 0, 61, 0, 48, 419, 518, 66, 67, 68, 69, - 70, 71, 469, 466, 164, 334, 401, 508, -1, -1, - 79, -1, 81, -1, -1, -1, 85, -1, -1, 88, - -1, 187, 92, -1, 181, -1, 45, 46, 184, -1, - -1, 50, 51, 52, 53, 54, -1, -1, -1, -1, - -1, 4, -1, 62, 63, 64, 65, 4, 117, -1, - 119, 121, 122, 72, 73, 74, 75, 76, 77, -1, - -1, -1, -1, 82, 83, 84, -1, -1, -1, 88, - -1, -1, -1, 36, 4, -1, -1, -1, -1, -1, - -1, 38, 45, 46, -1, -1, -1, 50, 51, 52, - 53, 54, -1, -1, -1, 114, 53, -1, 117, 62, - 63, 64, 65, -1, -1, -1, 36, -1, 38, 72, - 73, 74, 75, 76, 77, -1, -1, -1, -1, 82, - 83, 84, -1, 53, -1, 88, -1, -1, -1, 86, - -1, -1, 89, 90, 91, 92, 93, 94, 95, 96, - 97, 98, 99, 100, 101, 102, -1, -1, -1, -1, - 107, 108, 109, -1, 117, -1, 86, -1, -1, 89, - 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, - 100, 101, 102, -1, -1, -1, -1, 107, 108, 109, - 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - -1, -1, 15, 118, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 15, 118, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 15, 118, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 15, 118, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 15, 118, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, -1, -1, 15, 118, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 33, 34, 15, 118, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 33, 34, 15, 118, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 33, 34, 15, 118, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 33, 34, 15, 118, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 33, 34, -1, -1, 15, 118, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, -1, 118, 37, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 33, 34, 15, 116, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 33, 34, -1, 116, 18, 19, 20, 21, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 32, 33, 34, -1, -1, 116, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 19, 20, 21, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, 33, 34, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - 6, 7, 8, 9, 10, 11, 12, 13, 14 -}; -/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ -#line 3 "/usr/unsupported/share/bison.simple" - -/* Skeleton output parser for bison, - Copyright (C) 1984, 1989, 1990 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., 675 Mass Ave, Cambridge, MA 02139, 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 alloca -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else /* not GNU C. */ -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) -#include -#else /* not sparc */ -#if defined (MSDOS) && !defined (__TURBOC__) -#include -#else /* not MSDOS, or __TURBOC__ */ -#if defined(_AIX) -#include - #pragma alloca -#else /* not MSDOS, __TURBOC__, or _AIX */ -#ifdef __hpux -#ifdef __cplusplus -extern "C" { -void *alloca (unsigned int); -}; -#else /* not __cplusplus */ -void *alloca (); -#endif /* not __cplusplus */ -#endif /* __hpux */ -#endif /* not _AIX */ -#endif /* not MSDOS, or __TURBOC__ */ -#endif /* not sparc. */ -#endif /* not GNU C. */ -#endif /* alloca not defined. */ - -/* This is the parser code that is written into each bison parser - when the %semantic_parser declaration is not specified in the grammar. - It was written by Richard Stallman by simplifying the hairy parser - used when %semantic_parser is specified. */ - -/* Note: there must be only one dollar sign in this file. - It is replaced by the list of actions, each action - as one case of the switch. */ - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY -2 -#define YYEOF 0 -#define YYACCEPT return(0) -#define YYABORT return(1) -#define YYERROR goto yyerrlab1 -/* Like YYERROR except do call yyerror. - This remains here temporarily to ease the - transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ -#define YYFAIL goto yyerrlab -#define YYRECOVERING() (!!yyerrstatus) -#define YYBACKUP(token, value) \ -do \ - if (yychar == YYEMPTY && yylen == 1) \ - { yychar = (token), yylval = (value); \ - yychar1 = YYTRANSLATE (yychar); \ - YYPOPSTACK; \ - goto yybackup; \ - } \ - else \ - { yyerror ("syntax error: cannot back up"); YYERROR; } \ -while (0) - -#define YYTERROR 1 -#define YYERRCODE 256 - -#ifndef YYPURE -#define YYLEX yylex() -#endif - -#ifdef YYPURE -#ifdef YYLSP_NEEDED -#ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM) -#else -#define YYLEX yylex(&yylval, &yylloc) -#endif -#else /* not YYLSP_NEEDED */ -#ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, YYLEX_PARAM) -#else -#define YYLEX yylex(&yylval) -#endif -#endif /* not YYLSP_NEEDED */ -#endif - -/* If nonreentrant, generate the variables here */ - -#ifndef YYPURE - -int yychar; /* the lookahead symbol */ -YYSTYPE yylval; /* the semantic value of the */ - /* lookahead symbol */ - -#ifdef YYLSP_NEEDED -YYLTYPE yylloc; /* location data for the lookahead */ - /* symbol */ -#endif - -int yynerrs; /* number of parse errors so far */ -#endif /* not YYPURE */ - -#if YYDEBUG != 0 -int yydebug; /* nonzero means print parse trace */ -/* Since this is uninitialized, it does not stop multiple parsers - from coexisting. */ -#endif - -/* YYINITDEPTH indicates the initial size of the parser's stacks */ - -#ifndef YYINITDEPTH -#define YYINITDEPTH 200 -#endif - -/* YYMAXDEPTH is the maximum size the stacks can grow to - (effective only if the built-in stack extension method is used). */ - -#if YYMAXDEPTH == 0 -#undef YYMAXDEPTH -#endif - -#ifndef YYMAXDEPTH -#define YYMAXDEPTH 10000 -#endif - -/* Prevent warning if -Wstrict-prototypes. */ -#ifdef __GNUC__ -int yyparse (void); -#endif - -#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ -#define __yy_memcpy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT) -#else /* not GNU C or C++ */ -#ifndef __cplusplus - -/* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ -static void -__yy_memcpy (from, to, count) - char *from; - char *to; - int count; -{ - register char *f = from; - register char *t = to; - register int i = count; - - while (i-- > 0) - *t++ = *f++; -} - -#else /* __cplusplus */ - -/* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ -static void -__yy_memcpy (char *from, char *to, int count) -{ - register char *f = from; - register char *t = to; - register int i = count; - - while (i-- > 0) - *t++ = *f++; -} - -#endif -#endif - -#line 192 "/usr/unsupported/share/bison.simple" - -/* The user can define YYPARSE_PARAM as the name of an argument to be passed - into yyparse. The argument should have type void *. - It should actually point to an object. - Grammar actions can access the variable by casting it - to the proper pointer type. */ - -#ifdef YYPARSE_PARAM -#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; -#else -#define YYPARSE_PARAM -#define YYPARSE_PARAM_DECL -#endif - -int -yyparse(YYPARSE_PARAM) - YYPARSE_PARAM_DECL -{ - register int yystate; - register int yyn; - register short *yyssp; - register YYSTYPE *yyvsp; - int yyerrstatus; /* number of tokens to shift before error messages enabled */ - int yychar1 = 0; /* lookahead token as an internal (translated) token number */ - - short yyssa[YYINITDEPTH]; /* the state stack */ - YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */ - - short *yyss = yyssa; /* refer to the stacks thru separate pointers */ - YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */ - -#ifdef YYLSP_NEEDED - YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */ - YYLTYPE *yyls = yylsa; - YYLTYPE *yylsp; - -#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) -#else -#define YYPOPSTACK (yyvsp--, yyssp--) -#endif - - int yystacksize = YYINITDEPTH; - -#ifdef YYPURE - int yychar; - YYSTYPE yylval; - int yynerrs; -#ifdef YYLSP_NEEDED - YYLTYPE yylloc; -#endif -#endif - - YYSTYPE yyval; /* the variable used to return */ - /* semantic values from the action */ - /* routines */ - - int yylen; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Starting parse\n"); -#endif - - yystate = 0; - yyerrstatus = 0; - yynerrs = 0; - yychar = YYEMPTY; /* Cause a token to be read. */ - - /* Initialize stack pointers. - Waste one element of value and location stack - so that they stay on the same level as the state stack. - The wasted elements are never initialized. */ - - yyssp = yyss - 1; - yyvsp = yyvs; -#ifdef YYLSP_NEEDED - yylsp = yyls; -#endif - -/* Push a new state, which is found in yystate . */ -/* In all cases, when you get here, the value and location stacks - have just been pushed. so pushing a state here evens the stacks. */ -yynewstate: - - *++yyssp = yystate; - - if (yyssp >= yyss + yystacksize - 1) - { - /* Give user a chance to reallocate the stack */ - /* Use copies of these so that the &'s don't force the real ones into memory. */ - YYSTYPE *yyvs1 = yyvs; - short *yyss1 = yyss; -#ifdef YYLSP_NEEDED - YYLTYPE *yyls1 = yyls; -#endif - - /* Get the current used size of the three stacks, in elements. */ - int size = yyssp - yyss + 1; - -#ifdef yyoverflow - /* Each stack pointer address is followed by the size of - the data in use in that stack, in bytes. */ -#ifdef YYLSP_NEEDED - /* This used to be a conditional around just the two extra args, - but that might be undefined if yyoverflow is a macro. */ - yyoverflow("parser stack overflow", - &yyss1, size * sizeof (*yyssp), - &yyvs1, size * sizeof (*yyvsp), - &yyls1, size * sizeof (*yylsp), - &yystacksize); -#else - yyoverflow("parser stack overflow", - &yyss1, size * sizeof (*yyssp), - &yyvs1, size * sizeof (*yyvsp), - &yystacksize); -#endif - - yyss = yyss1; yyvs = yyvs1; -#ifdef YYLSP_NEEDED - yyls = yyls1; -#endif -#else /* no yyoverflow */ - /* Extend the stack our own way. */ - if (yystacksize >= YYMAXDEPTH) - { - yyerror("parser stack overflow"); - return 2; - } - yystacksize *= 2; - if (yystacksize > YYMAXDEPTH) - yystacksize = YYMAXDEPTH; - yyss = (short *) alloca (yystacksize * sizeof (*yyssp)); - __yy_memcpy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp)); - yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp)); - __yy_memcpy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp)); -#ifdef YYLSP_NEEDED - yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp)); - __yy_memcpy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp)); -#endif -#endif /* no yyoverflow */ - - yyssp = yyss + size - 1; - yyvsp = yyvs + size - 1; -#ifdef YYLSP_NEEDED - yylsp = yyls + size - 1; -#endif - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Stack size increased to %d\n", yystacksize); -#endif - - if (yyssp >= yyss + yystacksize - 1) - YYABORT; - } - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Entering state %d\n", yystate); -#endif - - goto yybackup; - yybackup: - -/* Do appropriate processing given the current state. */ -/* Read a lookahead token if we need one and don't already have one. */ -/* yyresume: */ - - /* First try to decide what to do without reference to lookahead token. */ - - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yydefault; - - /* Not known => get a lookahead token if don't already have one. */ - - /* yychar is either YYEMPTY or YYEOF - or a valid token in external form. */ - - if (yychar == YYEMPTY) - { -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Reading a token: "); -#endif - yychar = YYLEX; - } - - /* Convert token to internal form (in yychar1) for indexing tables with */ - - if (yychar <= 0) /* This means end of input. */ - { - yychar1 = 0; - yychar = YYEOF; /* Don't call YYLEX any more */ - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Now at end of input.\n"); -#endif - } - else - { - yychar1 = YYTRANSLATE(yychar); - -#if YYDEBUG != 0 - if (yydebug) - { - fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]); - /* Give the individual parser a way to print the precise meaning - of a token, for further debugging info. */ -#ifdef YYPRINT - YYPRINT (stderr, yychar, yylval); -#endif - fprintf (stderr, ")\n"); - } -#endif - } - - yyn += yychar1; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) - goto yydefault; - - yyn = yytable[yyn]; - - /* yyn is what to do for this token type in this state. - Negative => reduce, -yyn is rule number. - Positive => shift, yyn is new state. - New state is final state => don't bother to shift, - just return success. - 0, or most negative number => error. */ - - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrlab; - yyn = -yyn; - goto yyreduce; - } - else if (yyn == 0) - goto yyerrlab; - - if (yyn == YYFINAL) - YYACCEPT; - - /* Shift the lookahead token. */ - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]); -#endif - - /* Discard the token being shifted unless it is eof. */ - if (yychar != YYEOF) - yychar = YYEMPTY; - - *++yyvsp = yylval; -#ifdef YYLSP_NEEDED - *++yylsp = yylloc; -#endif - - /* count tokens shifted since error; after three, turn off error status. */ - if (yyerrstatus) yyerrstatus--; - - yystate = yyn; - goto yynewstate; - -/* Do the default action for the current state. */ -yydefault: - - yyn = yydefact[yystate]; - if (yyn == 0) - goto yyerrlab; - -/* Do a reduction. yyn is the number of a rule to reduce with. */ -yyreduce: - yylen = yyr2[yyn]; - if (yylen > 0) - yyval = yyvsp[1-yylen]; /* implement default value of the action */ - -#if YYDEBUG != 0 - if (yydebug) - { - int i; - - fprintf (stderr, "Reducing via rule %d (line %d), ", - yyn, yyrline[yyn]); - - /* Print the symbols being reduced, and their result. */ - for (i = yyprhs[yyn]; yyrhs[i] > 0; i++) - fprintf (stderr, "%s ", yytname[yyrhs[i]]); - fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]); - } -#endif - - - switch (yyn) { - -case 6: -#line 154 "./ldgram.y" -{ ldlex_defsym(); ; - break;} -case 7: -#line 156 "./ldgram.y" -{ - ldlex_popstate(); - lang_add_assignment(exp_assop(yyvsp[-1].token,yyvsp[-2].name,yyvsp[0].etree)); - ; - break;} -case 8: -#line 163 "./ldgram.y" -{ - ldlex_mri_script (); - PUSH_ERROR ("MRI style script"); - ; - break;} -case 9: -#line 168 "./ldgram.y" -{ - ldlex_popstate (); - mri_draw_tree (); - POP_ERROR (); - ; - break;} -case 14: -#line 183 "./ldgram.y" -{ - einfo("%P%F: unrecognised keyword in MRI style script '%s'\n",yyvsp[0].name); - ; - break;} -case 15: -#line 186 "./ldgram.y" -{ - config.map_filename = "-"; - ; - break;} -case 18: -#line 192 "./ldgram.y" -{ mri_public(yyvsp[-2].name, yyvsp[0].etree); ; - break;} -case 19: -#line 194 "./ldgram.y" -{ mri_public(yyvsp[-2].name, yyvsp[0].etree); ; - break;} -case 20: -#line 196 "./ldgram.y" -{ mri_public(yyvsp[-1].name, yyvsp[0].etree); ; - break;} -case 21: -#line 198 "./ldgram.y" -{ mri_format(yyvsp[0].name); ; - break;} -case 22: -#line 200 "./ldgram.y" -{ mri_output_section(yyvsp[-2].name, yyvsp[0].etree);; - break;} -case 23: -#line 202 "./ldgram.y" -{ mri_output_section(yyvsp[-1].name, yyvsp[0].etree);; - break;} -case 24: -#line 204 "./ldgram.y" -{ mri_output_section(yyvsp[-2].name, yyvsp[0].etree);; - break;} -case 25: -#line 206 "./ldgram.y" -{ mri_align(yyvsp[-2].name,yyvsp[0].etree); ; - break;} -case 26: -#line 208 "./ldgram.y" -{ mri_align(yyvsp[-2].name,yyvsp[0].etree); ; - break;} -case 27: -#line 210 "./ldgram.y" -{ mri_alignmod(yyvsp[-2].name,yyvsp[0].etree); ; - break;} -case 28: -#line 212 "./ldgram.y" -{ mri_alignmod(yyvsp[-2].name,yyvsp[0].etree); ; - break;} -case 31: -#line 216 "./ldgram.y" -{ mri_name(yyvsp[0].name); ; - break;} -case 32: -#line 218 "./ldgram.y" -{ mri_alias(yyvsp[-2].name,yyvsp[0].name,0);; - break;} -case 33: -#line 220 "./ldgram.y" -{ mri_alias(yyvsp[-2].name,0,(int) yyvsp[0].integer);; - break;} -case 34: -#line 222 "./ldgram.y" -{ mri_base(yyvsp[0].etree); ; - break;} -case 35: -#line 224 "./ldgram.y" -{ mri_truncate((unsigned int) yyvsp[0].integer); ; - break;} -case 38: -#line 228 "./ldgram.y" -{ ldfile_open_command_file (yyvsp[0].name); ; - break;} -case 40: -#line 230 "./ldgram.y" -{ lang_add_entry (yyvsp[0].name, false); ; - break;} -case 42: -#line 235 "./ldgram.y" -{ mri_order(yyvsp[0].name); ; - break;} -case 43: -#line 236 "./ldgram.y" -{ mri_order(yyvsp[0].name); ; - break;} -case 45: -#line 242 "./ldgram.y" -{ mri_load(yyvsp[0].name); ; - break;} -case 46: -#line 243 "./ldgram.y" -{ mri_load(yyvsp[0].name); ; - break;} -case 47: -#line 248 "./ldgram.y" -{ mri_only_load(yyvsp[0].name); ; - break;} -case 48: -#line 250 "./ldgram.y" -{ mri_only_load(yyvsp[0].name); ; - break;} -case 49: -#line 254 "./ldgram.y" -{ yyval.name = NULL; ; - break;} -case 52: -#line 261 "./ldgram.y" -{ ldlang_add_undef (yyvsp[0].name); ; - break;} -case 53: -#line 263 "./ldgram.y" -{ ldlang_add_undef (yyvsp[0].name); ; - break;} -case 54: -#line 267 "./ldgram.y" -{ - ldlex_both(); - ; - break;} -case 55: -#line 271 "./ldgram.y" -{ - ldlex_popstate(); - ; - break;} -case 68: -#line 296 "./ldgram.y" -{ lang_add_target(yyvsp[-1].name); ; - break;} -case 69: -#line 298 "./ldgram.y" -{ ldfile_add_library_path (yyvsp[-1].name, false); ; - break;} -case 70: -#line 300 "./ldgram.y" -{ lang_add_output(yyvsp[-1].name, 1); ; - break;} -case 71: -#line 302 "./ldgram.y" -{ lang_add_output_format (yyvsp[-1].name, (char *) NULL, - (char *) NULL, 1); ; - break;} -case 72: -#line 305 "./ldgram.y" -{ lang_add_output_format (yyvsp[-5].name, yyvsp[-3].name, yyvsp[-1].name, 1); ; - break;} -case 73: -#line 307 "./ldgram.y" -{ ldfile_set_output_arch(yyvsp[-1].name); ; - break;} -case 74: -#line 309 "./ldgram.y" -{ command_line.force_common_definition = true ; ; - break;} -case 76: -#line 312 "./ldgram.y" -{ lang_enter_group (); ; - break;} -case 77: -#line 314 "./ldgram.y" -{ lang_leave_group (); ; - break;} -case 78: -#line 316 "./ldgram.y" -{ lang_add_map(yyvsp[-1].name); ; - break;} -case 79: -#line 318 "./ldgram.y" -{ ldfile_open_command_file(yyvsp[0].name); ; - break;} -case 81: -#line 320 "./ldgram.y" -{ - lang_add_nocrossref (yyvsp[-1].nocrossref); - ; - break;} -case 82: -#line 327 "./ldgram.y" -{ lang_add_input_file(yyvsp[0].name,lang_input_file_is_search_file_enum, - (char *)NULL); ; - break;} -case 83: -#line 330 "./ldgram.y" -{ lang_add_input_file(yyvsp[0].name,lang_input_file_is_search_file_enum, - (char *)NULL); ; - break;} -case 84: -#line 333 "./ldgram.y" -{ lang_add_input_file(yyvsp[0].name,lang_input_file_is_search_file_enum, - (char *)NULL); ; - break;} -case 85: -#line 336 "./ldgram.y" -{ lang_add_input_file(yyvsp[0].name,lang_input_file_is_l_enum, - (char *)NULL); ; - break;} -case 86: -#line 339 "./ldgram.y" -{ lang_add_input_file(yyvsp[0].name,lang_input_file_is_l_enum, - (char *)NULL); ; - break;} -case 87: -#line 342 "./ldgram.y" -{ lang_add_input_file(yyvsp[0].name,lang_input_file_is_l_enum, - (char *)NULL); ; - break;} -case 92: -#line 358 "./ldgram.y" -{ lang_add_entry (yyvsp[-1].name, false); ; - break;} -case 94: -#line 366 "./ldgram.y" -{ lang_add_wild (yyvsp[0].name, current_file); ; - break;} -case 95: -#line 368 "./ldgram.y" -{ lang_add_wild ("*", current_file); ; - break;} -case 96: -#line 370 "./ldgram.y" -{ lang_add_wild ("?", current_file); ; - break;} -case 97: -#line 372 "./ldgram.y" -{ lang_add_wild (yyvsp[0].name, current_file); ; - break;} -case 98: -#line 374 "./ldgram.y" -{ lang_add_wild ("*", current_file); ; - break;} -case 99: -#line 376 "./ldgram.y" -{ lang_add_wild ("?", current_file); ; - break;} -case 100: -#line 381 "./ldgram.y" -{ - lang_add_wild((char *)NULL, yyvsp[0].name); - ; - break;} -case 101: -#line 385 "./ldgram.y" -{ - current_file = (char *)NULL; - ; - break;} -case 103: -#line 391 "./ldgram.y" -{ - current_file = yyvsp[0].name; - ; - break;} -case 105: -#line 398 "./ldgram.y" -{ - current_file = "?"; - ; - break;} -case 107: -#line 403 "./ldgram.y" -{ - current_file = (char *)NULL; - ; - break;} -case 110: -#line 412 "./ldgram.y" -{ - lang_add_attribute(lang_object_symbols_statement_enum); - ; - break;} -case 112: -#line 417 "./ldgram.y" -{ - - lang_add_attribute(lang_constructors_statement_enum); - ; - break;} -case 114: -#line 423 "./ldgram.y" -{ - lang_add_data((int) yyvsp[-3].integer,yyvsp[-1].etree); - ; - break;} -case 115: -#line 428 "./ldgram.y" -{ - lang_add_fill - (exp_get_value_int(yyvsp[-1].etree, - 0, - "fill value", - lang_first_phase_enum)); - ; - break;} -case 120: -#line 449 "./ldgram.y" -{ yyval.integer = yyvsp[0].token; ; - break;} -case 121: -#line 451 "./ldgram.y" -{ yyval.integer = yyvsp[0].token; ; - break;} -case 122: -#line 453 "./ldgram.y" -{ yyval.integer = yyvsp[0].token; ; - break;} -case 123: -#line 455 "./ldgram.y" -{ yyval.integer = yyvsp[0].token; ; - break;} -case 124: -#line 460 "./ldgram.y" -{ - yyval.integer = exp_get_value_int(yyvsp[0].etree, - 0, - "fill value", - lang_first_phase_enum); - ; - break;} -case 125: -#line 466 "./ldgram.y" -{ yyval.integer = 0; ; - break;} -case 126: -#line 473 "./ldgram.y" -{ yyval.token = '+'; ; - break;} -case 127: -#line 475 "./ldgram.y" -{ yyval.token = '-'; ; - break;} -case 128: -#line 477 "./ldgram.y" -{ yyval.token = '*'; ; - break;} -case 129: -#line 479 "./ldgram.y" -{ yyval.token = '/'; ; - break;} -case 130: -#line 481 "./ldgram.y" -{ yyval.token = LSHIFT; ; - break;} -case 131: -#line 483 "./ldgram.y" -{ yyval.token = RSHIFT; ; - break;} -case 132: -#line 485 "./ldgram.y" -{ yyval.token = '&'; ; - break;} -case 133: -#line 487 "./ldgram.y" -{ yyval.token = '|'; ; - break;} -case 136: -#line 497 "./ldgram.y" -{ - lang_add_assignment (exp_assop (yyvsp[-1].token, yyvsp[-2].name, yyvsp[0].etree)); - ; - break;} -case 137: -#line 501 "./ldgram.y" -{ - lang_add_assignment (exp_assop ('=', yyvsp[-2].name, - exp_binop (yyvsp[-1].token, - exp_nameop (NAME, - yyvsp[-2].name), - yyvsp[0].etree))); - ; - break;} -case 138: -#line 509 "./ldgram.y" -{ - lang_add_assignment (exp_provide (yyvsp[-3].name, yyvsp[-1].etree)); - ; - break;} -case 145: -#line 531 "./ldgram.y" -{ region = lang_memory_region_lookup(yyvsp[0].name); ; - break;} -case 147: -#line 537 "./ldgram.y" -{ region->current = - region->origin = - exp_get_vma(yyvsp[0].etree, 0L,"origin", lang_first_phase_enum); -; - break;} -case 148: -#line 543 "./ldgram.y" -{ region->length = exp_get_vma(yyvsp[0].etree, - ~((bfd_vma)0), - "length", - lang_first_phase_enum); - ; - break;} -case 149: -#line 552 "./ldgram.y" -{ - lang_set_flags(®ion->flags, yyvsp[-1].name); - ; - break;} -case 151: -#line 561 "./ldgram.y" -{ lang_startup(yyvsp[-1].name); ; - break;} -case 153: -#line 567 "./ldgram.y" -{ ldemul_hll((char *)NULL); ; - break;} -case 154: -#line 572 "./ldgram.y" -{ ldemul_hll(yyvsp[0].name); ; - break;} -case 155: -#line 574 "./ldgram.y" -{ ldemul_hll(yyvsp[0].name); ; - break;} -case 157: -#line 582 "./ldgram.y" -{ ldemul_syslib(yyvsp[0].name); ; - break;} -case 159: -#line 588 "./ldgram.y" -{ lang_float(true); ; - break;} -case 160: -#line 590 "./ldgram.y" -{ lang_float(false); ; - break;} -case 161: -#line 595 "./ldgram.y" -{ - yyval.nocrossref = NULL; - ; - break;} -case 162: -#line 599 "./ldgram.y" -{ - struct lang_nocrossref *n; - - n = (struct lang_nocrossref *) xmalloc (sizeof *n); - n->name = yyvsp[-1].name; - n->next = yyvsp[0].nocrossref; - yyval.nocrossref = n; - ; - break;} -case 163: -#line 608 "./ldgram.y" -{ - struct lang_nocrossref *n; - - n = (struct lang_nocrossref *) xmalloc (sizeof *n); - n->name = yyvsp[-2].name; - n->next = yyvsp[0].nocrossref; - yyval.nocrossref = n; - ; - break;} -case 164: -#line 618 "./ldgram.y" -{ ldlex_expression(); ; - break;} -case 165: -#line 620 "./ldgram.y" -{ ldlex_popstate(); yyval.etree=yyvsp[0].etree;; - break;} -case 166: -#line 625 "./ldgram.y" -{ yyval.etree = exp_unop('-', yyvsp[0].etree); ; - break;} -case 167: -#line 627 "./ldgram.y" -{ yyval.etree = yyvsp[-1].etree; ; - break;} -case 168: -#line 629 "./ldgram.y" -{ yyval.etree = exp_unop((int) yyvsp[-3].integer,yyvsp[-1].etree); ; - break;} -case 169: -#line 631 "./ldgram.y" -{ yyval.etree = exp_unop('!', yyvsp[0].etree); ; - break;} -case 170: -#line 633 "./ldgram.y" -{ yyval.etree = yyvsp[0].etree; ; - break;} -case 171: -#line 635 "./ldgram.y" -{ yyval.etree = exp_unop('~', yyvsp[0].etree);; - break;} -case 172: -#line 638 "./ldgram.y" -{ yyval.etree = exp_binop('*', yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 173: -#line 640 "./ldgram.y" -{ yyval.etree = exp_binop('/', yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 174: -#line 642 "./ldgram.y" -{ yyval.etree = exp_binop('%', yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 175: -#line 644 "./ldgram.y" -{ yyval.etree = exp_binop('+', yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 176: -#line 646 "./ldgram.y" -{ yyval.etree = exp_binop('-' , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 177: -#line 648 "./ldgram.y" -{ yyval.etree = exp_binop(LSHIFT , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 178: -#line 650 "./ldgram.y" -{ yyval.etree = exp_binop(RSHIFT , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 179: -#line 652 "./ldgram.y" -{ yyval.etree = exp_binop(EQ , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 180: -#line 654 "./ldgram.y" -{ yyval.etree = exp_binop(NE , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 181: -#line 656 "./ldgram.y" -{ yyval.etree = exp_binop(LE , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 182: -#line 658 "./ldgram.y" -{ yyval.etree = exp_binop(GE , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 183: -#line 660 "./ldgram.y" -{ yyval.etree = exp_binop('<' , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 184: -#line 662 "./ldgram.y" -{ yyval.etree = exp_binop('>' , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 185: -#line 664 "./ldgram.y" -{ yyval.etree = exp_binop('&' , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 186: -#line 666 "./ldgram.y" -{ yyval.etree = exp_binop('^' , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 187: -#line 668 "./ldgram.y" -{ yyval.etree = exp_binop('|' , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 188: -#line 670 "./ldgram.y" -{ yyval.etree = exp_trinop('?' , yyvsp[-4].etree, yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 189: -#line 672 "./ldgram.y" -{ yyval.etree = exp_binop(ANDAND , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 190: -#line 674 "./ldgram.y" -{ yyval.etree = exp_binop(OROR , yyvsp[-2].etree, yyvsp[0].etree); ; - break;} -case 191: -#line 676 "./ldgram.y" -{ yyval.etree = exp_nameop(DEFINED, yyvsp[-1].name); ; - break;} -case 192: -#line 678 "./ldgram.y" -{ yyval.etree = exp_intop(yyvsp[0].integer); ; - break;} -case 193: -#line 680 "./ldgram.y" -{ yyval.etree = exp_nameop(SIZEOF_HEADERS,0); ; - break;} -case 194: -#line 683 "./ldgram.y" -{ yyval.etree = exp_nameop(SIZEOF,yyvsp[-1].name); ; - break;} -case 195: -#line 685 "./ldgram.y" -{ yyval.etree = exp_nameop(ADDR,yyvsp[-1].name); ; - break;} -case 196: -#line 687 "./ldgram.y" -{ yyval.etree = exp_nameop(LOADADDR,yyvsp[-1].name); ; - break;} -case 197: -#line 689 "./ldgram.y" -{ yyval.etree = exp_unop(ABSOLUTE, yyvsp[-1].etree); ; - break;} -case 198: -#line 691 "./ldgram.y" -{ yyval.etree = exp_unop(ALIGN_K,yyvsp[-1].etree); ; - break;} -case 199: -#line 693 "./ldgram.y" -{ yyval.etree = exp_unop(ALIGN_K,yyvsp[-1].etree); ; - break;} -case 200: -#line 695 "./ldgram.y" -{ yyval.etree = exp_nameop(NAME,yyvsp[0].name); ; - break;} -case 201: -#line 697 "./ldgram.y" -{ yyval.etree = exp_binop (MAX, yyvsp[-3].etree, yyvsp[-1].etree ); ; - break;} -case 202: -#line 699 "./ldgram.y" -{ yyval.etree = exp_binop (MIN, yyvsp[-3].etree, yyvsp[-1].etree ); ; - break;} -case 203: -#line 704 "./ldgram.y" -{ yyval.etree = yyvsp[-1].etree; ; - break;} -case 204: -#line 705 "./ldgram.y" -{ yyval.etree = 0; ; - break;} -case 205: -#line 708 "./ldgram.y" -{ ldlex_expression(); ; - break;} -case 206: -#line 710 "./ldgram.y" -{ ldlex_popstate (); ldlex_script (); ; - break;} -case 207: -#line 712 "./ldgram.y" -{ - lang_enter_output_section_statement(yyvsp[-5].name, yyvsp[-3].etree, - sectype, - 0, 0, 0, yyvsp[-2].etree); - ; - break;} -case 208: -#line 718 "./ldgram.y" -{ ldlex_popstate (); ldlex_expression (); ; - break;} -case 209: -#line 720 "./ldgram.y" -{ - ldlex_popstate (); - lang_leave_output_section_statement (yyvsp[0].integer, yyvsp[-2].name, yyvsp[-1].section_phdr); - ; - break;} -case 211: -#line 726 "./ldgram.y" -{ ldlex_expression (); ; - break;} -case 212: -#line 728 "./ldgram.y" -{ ldlex_popstate (); ldlex_script (); ; - break;} -case 213: -#line 730 "./ldgram.y" -{ - lang_enter_overlay (yyvsp[-4].etree, yyvsp[-2].etree, (int) yyvsp[-3].integer); - ; - break;} -case 214: -#line 735 "./ldgram.y" -{ ldlex_popstate (); ldlex_expression (); ; - break;} -case 215: -#line 737 "./ldgram.y" -{ - ldlex_popstate (); - lang_leave_overlay (yyvsp[0].integer, yyvsp[-2].name, yyvsp[-1].section_phdr); - ; - break;} -case 217: -#line 746 "./ldgram.y" -{ ldlex_expression (); ; - break;} -case 218: -#line 748 "./ldgram.y" -{ - ldlex_popstate (); - lang_add_assignment (exp_assop ('=', ".", yyvsp[0].etree)); - ; - break;} -case 220: -#line 756 "./ldgram.y" -{ sectype = noload_section; ; - break;} -case 221: -#line 757 "./ldgram.y" -{ sectype = dsect_section; ; - break;} -case 222: -#line 758 "./ldgram.y" -{ sectype = copy_section; ; - break;} -case 223: -#line 759 "./ldgram.y" -{ sectype = info_section; ; - break;} -case 224: -#line 760 "./ldgram.y" -{ sectype = overlay_section; ; - break;} -case 226: -#line 765 "./ldgram.y" -{ sectype = normal_section; ; - break;} -case 227: -#line 769 "./ldgram.y" -{ yyval.etree = yyvsp[-2].etree; ; - break;} -case 228: -#line 770 "./ldgram.y" -{ yyval.etree = (etree_type *)NULL; ; - break;} -case 229: -#line 775 "./ldgram.y" -{ yyval.etree = yyvsp[-3].etree; ; - break;} -case 230: -#line 777 "./ldgram.y" -{ yyval.etree = yyvsp[-7].etree; ; - break;} -case 231: -#line 781 "./ldgram.y" -{ yyval.etree = yyvsp[-1].etree; ; - break;} -case 232: -#line 782 "./ldgram.y" -{ yyval.etree = (etree_type *) NULL; ; - break;} -case 233: -#line 787 "./ldgram.y" -{ yyval.integer = 0; ; - break;} -case 234: -#line 789 "./ldgram.y" -{ yyval.integer = 1; ; - break;} -case 235: -#line 794 "./ldgram.y" -{ yyval.name = yyvsp[0].name; ; - break;} -case 236: -#line 795 "./ldgram.y" -{ yyval.name = "*default*"; ; - break;} -case 237: -#line 800 "./ldgram.y" -{ - yyval.section_phdr = NULL; - ; - break;} -case 238: -#line 804 "./ldgram.y" -{ - struct lang_output_section_phdr_list *n; - - n = ((struct lang_output_section_phdr_list *) - xmalloc (sizeof *n)); - n->name = yyvsp[0].name; - n->used = false; - n->next = yyvsp[-2].section_phdr; - yyval.section_phdr = n; - ; - break;} -case 240: -#line 820 "./ldgram.y" -{ - ldlex_script (); - lang_enter_overlay_section (yyvsp[0].name); - ; - break;} -case 241: -#line 825 "./ldgram.y" -{ ldlex_popstate (); ldlex_expression (); ; - break;} -case 242: -#line 827 "./ldgram.y" -{ - ldlex_popstate (); - lang_leave_overlay_section (yyvsp[0].integer, yyvsp[-1].section_phdr); - ; - break;} -case 247: -#line 844 "./ldgram.y" -{ ldlex_expression (); ; - break;} -case 248: -#line 845 "./ldgram.y" -{ ldlex_popstate (); ; - break;} -case 249: -#line 847 "./ldgram.y" -{ - lang_new_phdr (yyvsp[-5].name, yyvsp[-3].etree, yyvsp[-2].phdr.filehdr, yyvsp[-2].phdr.phdrs, yyvsp[-2].phdr.at, - yyvsp[-2].phdr.flags); - ; - break;} -case 250: -#line 855 "./ldgram.y" -{ - yyval.etree = yyvsp[0].etree; - - if (yyvsp[0].etree->type.node_class == etree_name - && yyvsp[0].etree->type.node_code == NAME) - { - const char *s; - unsigned int i; - static const char * const phdr_types[] = - { - "PT_NULL", "PT_LOAD", "PT_DYNAMIC", - "PT_INTERP", "PT_NOTE", "PT_SHLIB", - "PT_PHDR" - }; - - s = yyvsp[0].etree->name.name; - for (i = 0; - i < sizeof phdr_types / sizeof phdr_types[0]; - i++) - if (strcmp (s, phdr_types[i]) == 0) - { - yyval.etree = exp_intop (i); - break; - } - } - ; - break;} -case 251: -#line 885 "./ldgram.y" -{ - memset (&yyval.phdr, 0, sizeof (struct phdr_info)); - ; - break;} -case 252: -#line 889 "./ldgram.y" -{ - yyval.phdr = yyvsp[0].phdr; - if (strcmp (yyvsp[-2].name, "FILEHDR") == 0 && yyvsp[-1].etree == NULL) - yyval.phdr.filehdr = true; - else if (strcmp (yyvsp[-2].name, "PHDRS") == 0 && yyvsp[-1].etree == NULL) - yyval.phdr.phdrs = true; - else if (strcmp (yyvsp[-2].name, "FLAGS") == 0 && yyvsp[-1].etree != NULL) - yyval.phdr.flags = yyvsp[-1].etree; - else - einfo ("%X%P:%S: PHDRS syntax error at `%s'\n", yyvsp[-2].name); - ; - break;} -case 253: -#line 901 "./ldgram.y" -{ - yyval.phdr = yyvsp[0].phdr; - yyval.phdr.at = yyvsp[-2].etree; - ; - break;} -case 254: -#line 909 "./ldgram.y" -{ - yyval.etree = NULL; - ; - break;} -case 255: -#line 913 "./ldgram.y" -{ - yyval.etree = yyvsp[-1].etree; - ; - break;} -case 256: -#line 921 "./ldgram.y" -{ - ldlex_version_file (); - PUSH_ERROR ("VERSION script"); - ; - break;} -case 257: -#line 926 "./ldgram.y" -{ - ldlex_popstate (); - POP_ERROR (); - ; - break;} -case 258: -#line 935 "./ldgram.y" -{ - ldlex_version_script (); - ; - break;} -case 259: -#line 939 "./ldgram.y" -{ - ldlex_popstate (); - ; - break;} -case 262: -#line 951 "./ldgram.y" -{ - lang_register_vers_node (yyvsp[-4].name, yyvsp[-2].versnode, NULL); - ; - break;} -case 263: -#line 955 "./ldgram.y" -{ - lang_register_vers_node (yyvsp[-5].name, yyvsp[-3].versnode, yyvsp[-1].deflist); - ; - break;} -case 264: -#line 962 "./ldgram.y" -{ - yyval.deflist = lang_add_vers_depend (NULL, yyvsp[0].name); - ; - break;} -case 265: -#line 966 "./ldgram.y" -{ - yyval.deflist = lang_add_vers_depend (yyvsp[-1].deflist, yyvsp[0].name); - ; - break;} -case 266: -#line 973 "./ldgram.y" -{ - yyval.versnode = lang_new_vers_node (NULL, NULL); - ; - break;} -case 267: -#line 977 "./ldgram.y" -{ - yyval.versnode = lang_new_vers_node (yyvsp[-1].versyms, NULL); - ; - break;} -case 268: -#line 981 "./ldgram.y" -{ - yyval.versnode = lang_new_vers_node (yyvsp[-1].versyms, NULL); - ; - break;} -case 269: -#line 985 "./ldgram.y" -{ - yyval.versnode = lang_new_vers_node (NULL, yyvsp[-1].versyms); - ; - break;} -case 270: -#line 989 "./ldgram.y" -{ - yyval.versnode = lang_new_vers_node (yyvsp[-5].versyms, yyvsp[-1].versyms); - ; - break;} -case 271: -#line 996 "./ldgram.y" -{ - yyval.versyms = lang_new_vers_regex (NULL, yyvsp[0].name); - ; - break;} -case 272: -#line 1000 "./ldgram.y" -{ - yyval.versyms = lang_new_vers_regex (yyvsp[-2].versyms, yyvsp[0].name); - ; - break;} -} - /* the action file gets copied in in place of this dollarsign */ -#line 487 "/usr/unsupported/share/bison.simple" - - yyvsp -= yylen; - yyssp -= yylen; -#ifdef YYLSP_NEEDED - yylsp -= yylen; -#endif - -#if YYDEBUG != 0 - if (yydebug) - { - short *ssp1 = yyss - 1; - fprintf (stderr, "state stack now"); - while (ssp1 != yyssp) - fprintf (stderr, " %d", *++ssp1); - fprintf (stderr, "\n"); - } -#endif - - *++yyvsp = yyval; - -#ifdef YYLSP_NEEDED - yylsp++; - if (yylen == 0) - { - yylsp->first_line = yylloc.first_line; - yylsp->first_column = yylloc.first_column; - yylsp->last_line = (yylsp-1)->last_line; - yylsp->last_column = (yylsp-1)->last_column; - yylsp->text = 0; - } - else - { - yylsp->last_line = (yylsp+yylen-1)->last_line; - yylsp->last_column = (yylsp+yylen-1)->last_column; - } -#endif - - /* Now "shift" the result of the reduction. - Determine what state that goes to, - based on the state we popped back to - and the rule number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTBASE] + *yyssp; - if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTBASE]; - - goto yynewstate; - -yyerrlab: /* here on detecting error */ - - if (! yyerrstatus) - /* If not already recovering from an error, report this error. */ - { - ++yynerrs; - -#ifdef YYERROR_VERBOSE - yyn = yypact[yystate]; - - if (yyn > YYFLAG && yyn < YYLAST) - { - int size = 0; - char *msg; - int x, count; - - count = 0; - /* Start X at -yyn if nec to avoid negative indexes in yycheck. */ - for (x = (yyn < 0 ? -yyn : 0); - x < (sizeof(yytname) / sizeof(char *)); x++) - if (yycheck[x + yyn] == x) - size += strlen(yytname[x]) + 15, count++; - msg = (char *) malloc(size + 15); - if (msg != 0) - { - strcpy(msg, "parse error"); - - if (count < 5) - { - count = 0; - for (x = (yyn < 0 ? -yyn : 0); - x < (sizeof(yytname) / sizeof(char *)); x++) - if (yycheck[x + yyn] == x) - { - strcat(msg, count == 0 ? ", expecting `" : " or `"); - strcat(msg, yytname[x]); - strcat(msg, "'"); - count++; - } - } - yyerror(msg); - free(msg); - } - else - yyerror ("parse error; also virtual memory exceeded"); - } - else -#endif /* YYERROR_VERBOSE */ - yyerror("parse error"); - } - - goto yyerrlab1; -yyerrlab1: /* here on error raised explicitly by an action */ - - if (yyerrstatus == 3) - { - /* if just tried and failed to reuse lookahead token after an error, discard it. */ - - /* return failure if at end of input */ - if (yychar == YYEOF) - YYABORT; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]); -#endif - - yychar = YYEMPTY; - } - - /* Else will try to reuse lookahead token - after shifting the error token. */ - - yyerrstatus = 3; /* Each real token shifted decrements this */ - - goto yyerrhandle; - -yyerrdefault: /* current state does not do anything special for the error token. */ - -#if 0 - /* This is wrong; only states that explicitly want error tokens - should shift them. */ - yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/ - if (yyn) goto yydefault; -#endif - -yyerrpop: /* pop the current state because it cannot handle the error token */ - - if (yyssp == yyss) YYABORT; - yyvsp--; - yystate = *--yyssp; -#ifdef YYLSP_NEEDED - yylsp--; -#endif - -#if YYDEBUG != 0 - if (yydebug) - { - short *ssp1 = yyss - 1; - fprintf (stderr, "Error: state stack now"); - while (ssp1 != yyssp) - fprintf (stderr, " %d", *++ssp1); - fprintf (stderr, "\n"); - } -#endif - -yyerrhandle: - - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yyerrdefault; - - yyn += YYTERROR; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) - goto yyerrdefault; - - yyn = yytable[yyn]; - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrpop; - yyn = -yyn; - goto yyreduce; - } - else if (yyn == 0) - goto yyerrpop; - - if (yyn == YYFINAL) - YYACCEPT; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Shifting error token, "); -#endif - - *++yyvsp = yylval; -#ifdef YYLSP_NEEDED - *++yylsp = yylloc; -#endif - - yystate = yyn; - goto yynewstate; -} -#line 1005 "./ldgram.y" - -void -yyerror(arg) - const char *arg; -{ - if (ldfile_assumed_script) - einfo ("%P:%s: file format not recognized; treating as linker script\n", - ldfile_input_filename); - if (error_index > 0 && error_index < ERROR_NAME_MAX) - einfo ("%P%F:%S: %s in %s\n", arg, error_names[error_index-1]); - else - einfo ("%P%F:%S: %s\n", arg); -} diff --git a/gnu/dist/ld/ldgram.h b/gnu/dist/ld/ldgram.h deleted file mode 100644 index 490e5a4be683..000000000000 --- a/gnu/dist/ld/ldgram.h +++ /dev/null @@ -1,118 +0,0 @@ -typedef union { - bfd_vma integer; - char *name; - int token; - union etree_union *etree; - struct phdr_info - { - boolean filehdr; - boolean phdrs; - union etree_union *at; - union etree_union *flags; - } phdr; - struct lang_nocrossref *nocrossref; - struct lang_output_section_phdr_list *section_phdr; - struct bfd_elf_version_deps *deflist; - struct bfd_elf_version_expr *versyms; - struct bfd_elf_version_tree *versnode; -} YYSTYPE; -#define INT 258 -#define NAME 259 -#define LNAME 260 -#define PLUSEQ 261 -#define MINUSEQ 262 -#define MULTEQ 263 -#define DIVEQ 264 -#define LSHIFTEQ 265 -#define RSHIFTEQ 266 -#define ANDEQ 267 -#define OREQ 268 -#define OROR 269 -#define ANDAND 270 -#define EQ 271 -#define NE 272 -#define LE 273 -#define GE 274 -#define LSHIFT 275 -#define RSHIFT 276 -#define UNARY 277 -#define END 278 -#define ALIGN_K 279 -#define BLOCK 280 -#define BIND 281 -#define QUAD 282 -#define LONG 283 -#define SHORT 284 -#define BYTE 285 -#define SECTIONS 286 -#define PHDRS 287 -#define SIZEOF_HEADERS 288 -#define OUTPUT_FORMAT 289 -#define FORCE_COMMON_ALLOCATION 290 -#define OUTPUT_ARCH 291 -#define INCLUDE 292 -#define MEMORY 293 -#define DEFSYMEND 294 -#define NOLOAD 295 -#define DSECT 296 -#define COPY 297 -#define INFO 298 -#define OVERLAY 299 -#define DEFINED 300 -#define TARGET_K 301 -#define SEARCH_DIR 302 -#define MAP 303 -#define ENTRY 304 -#define NEXT 305 -#define SIZEOF 306 -#define ADDR 307 -#define LOADADDR 308 -#define MAX 309 -#define MIN 310 -#define STARTUP 311 -#define HLL 312 -#define SYSLIB 313 -#define FLOAT 314 -#define NOFLOAT 315 -#define NOCROSSREFS 316 -#define ORIGIN 317 -#define FILL 318 -#define LENGTH 319 -#define CREATE_OBJECT_SYMBOLS 320 -#define INPUT 321 -#define GROUP 322 -#define OUTPUT 323 -#define CONSTRUCTORS 324 -#define ALIGNMOD 325 -#define AT 326 -#define PROVIDE 327 -#define CHIP 328 -#define LIST 329 -#define SECT 330 -#define ABSOLUTE 331 -#define LOAD 332 -#define NEWLINE 333 -#define ENDWORD 334 -#define ORDER 335 -#define NAMEWORD 336 -#define FORMAT 337 -#define PUBLIC 338 -#define BASE 339 -#define ALIAS 340 -#define TRUNCATE 341 -#define REL 342 -#define INPUT_SCRIPT 343 -#define INPUT_MRI_SCRIPT 344 -#define INPUT_DEFSYM 345 -#define CASE 346 -#define EXTERN 347 -#define START 348 -#define VERS_TAG 349 -#define VERS_IDENTIFIER 350 -#define GLOBAL 351 -#define LOCAL 352 -#define VERSION 353 -#define INPUT_VERSION_SCRIPT 354 - - -extern YYSTYPE yylval; diff --git a/gnu/dist/ld/ldlex.c b/gnu/dist/ld/ldlex.c deleted file mode 100644 index db5aae0ffd38..000000000000 --- a/gnu/dist/ld/ldlex.c +++ /dev/null @@ -1,3503 +0,0 @@ -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /cvsroot/src/gnu/dist/ld/Attic/ldlex.c,v 1.1.1.1 1997/09/24 15:43:28 gwr Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include -#include - -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -#if __STDC__ - -#define YY_USE_PROTOS -#define YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include -#include -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 163 -#define YY_END_OF_BUFFER 164 -static yyconst short int yy_accept[1007] = - { 0, - 0, 0, 145, 145, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 164, 163, - 161, 149, 147, 148, 32, 161, 145, 38, 29, 44, - 43, 34, 35, 28, 36, 145, 37, 8, 8, 45, - 46, 39, 40, 27, 33, 8, 8, 8, 8, 8, - 8, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 10, 9, 8, 95, 93, 145, 42, - 30, 41, 31, 162, 149, 148, 32, 162, 143, 38, - 29, 44, 43, 34, 35, 28, 36, 143, 37, 8, - 8, 45, 46, 39, 40, 27, 33, 8, 8, 8, - - 8, 8, 143, 143, 143, 143, 143, 143, 143, 143, - 10, 9, 8, 143, 42, 30, 41, 31, 143, 8, - 8, 8, 8, 8, 8, 8, 8, 143, 143, 143, - 143, 143, 143, 143, 143, 143, 143, 143, 8, 8, - 95, 93, 4, 3, 2, 4, 5, 4, 102, 103, - 101, 142, 34, 35, 28, 36, 142, 37, 8, 8, - 45, 46, 40, 33, 8, 8, 8, 8, 8, 8, - 142, 142, 142, 142, 142, 142, 10, 9, 8, 8, - 8, 8, 8, 142, 142, 142, 142, 142, 142, 31, - 160, 158, 158, 159, 155, 154, 150, 156, 157, 153, - - 153, 153, 15, 0, 146, 145, 8, 8, 26, 24, - 22, 20, 21, 1, 23, 8, 145, 18, 17, 14, - 16, 19, 8, 8, 145, 99, 145, 145, 145, 145, - 145, 8, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 8, - 145, 145, 145, 25, 13, 143, 6, 6, 22, 20, - 21, 0, 1, 23, 8, 7, 7, 8, 7, 14, - 8, 7, 7, 7, 8, 143, 99, 7, 143, 143, - 7, 8, 143, 143, 143, 143, 143, 143, 143, 143, - - 143, 143, 143, 7, 143, 8, 8, 8, 0, 8, - 8, 143, 143, 143, 8, 143, 143, 143, 143, 143, - 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, - 143, 143, 143, 143, 143, 143, 143, 8, 143, 143, - 4, 4, 4, 4, 101, 101, 142, 6, 6, 104, - 22, 23, 105, 8, 7, 7, 7, 8, 142, 8, - 8, 7, 142, 7, 7, 142, 142, 142, 142, 142, - 142, 142, 142, 7, 142, 8, 8, 7, 142, 7, - 7, 142, 142, 142, 142, 142, 142, 142, 142, 160, - 159, 154, 153, 153, 153, 11, 12, 145, 8, 145, - - 145, 145, 145, 145, 145, 145, 8, 145, 145, 145, - 145, 145, 145, 78, 145, 145, 145, 145, 145, 145, - 62, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 96, 94, 145, 143, 144, 143, 7, 143, 143, - 143, 143, 8, 143, 143, 143, 143, 56, 57, 143, - 143, 143, 143, 143, 143, 143, 143, 8, 143, 143, - 143, 8, 143, 143, 143, 143, 78, 143, 143, 143, - 143, 62, 143, 143, 143, 143, 143, 143, 143, 143, - 143, 143, 143, 143, 143, 143, 96, 94, 4, 101, - - 142, 142, 142, 142, 142, 142, 106, 142, 142, 142, - 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, - 142, 142, 124, 142, 142, 142, 142, 142, 142, 142, - 142, 142, 142, 153, 153, 145, 54, 145, 51, 145, - 84, 145, 90, 145, 145, 145, 145, 74, 145, 145, - 145, 145, 91, 145, 145, 145, 82, 145, 59, 145, - 145, 145, 145, 145, 145, 145, 145, 81, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 143, 54, - 143, 51, 143, 90, 143, 143, 143, 91, 143, 59, - 143, 143, 143, 143, 143, 143, 143, 84, 143, 143, - - 143, 74, 143, 143, 143, 143, 143, 82, 143, 143, - 143, 143, 143, 143, 81, 143, 143, 143, 143, 143, - 143, 143, 8, 142, 142, 142, 110, 118, 109, 142, - 142, 121, 113, 116, 142, 142, 122, 142, 142, 142, - 142, 142, 128, 136, 127, 142, 142, 139, 131, 134, - 142, 142, 140, 142, 142, 153, 153, 145, 53, 50, - 145, 145, 145, 89, 58, 80, 145, 68, 145, 67, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 98, - 145, 145, 145, 83, 145, 145, 145, 145, 145, 145, - 145, 143, 53, 50, 143, 89, 68, 143, 143, 143, - - 143, 143, 143, 143, 143, 143, 143, 58, 80, 143, - 143, 67, 143, 143, 143, 143, 143, 143, 98, 143, - 143, 83, 143, 143, 143, 143, 142, 111, 108, 142, - 142, 121, 121, 115, 142, 120, 142, 142, 129, 126, - 142, 142, 139, 139, 133, 142, 138, 142, 153, 152, - 145, 145, 145, 145, 145, 145, 52, 145, 47, 145, - 145, 88, 48, 66, 145, 145, 145, 145, 63, 145, - 79, 64, 145, 145, 145, 143, 143, 143, 143, 88, - 143, 143, 63, 143, 143, 143, 143, 143, 143, 52, - 47, 143, 48, 66, 143, 143, 143, 143, 79, 64, - - 143, 142, 142, 119, 117, 114, 142, 142, 142, 137, - 135, 132, 142, 151, 145, 145, 145, 69, 145, 97, - 145, 145, 85, 145, 87, 100, 145, 145, 145, 75, - 49, 145, 145, 143, 69, 143, 143, 92, 100, 143, - 143, 143, 143, 143, 143, 97, 85, 143, 87, 143, - 143, 75, 49, 142, 142, 142, 142, 142, 142, 123, - 145, 145, 145, 55, 145, 145, 145, 145, 73, 145, - 141, 145, 123, 55, 143, 143, 141, 143, 143, 143, - 143, 143, 143, 143, 73, 123, 107, 112, 141, 125, - 130, 145, 145, 145, 145, 145, 145, 145, 145, 145, - - 143, 143, 143, 143, 143, 143, 143, 143, 143, 145, - 145, 145, 145, 145, 145, 65, 145, 145, 143, 143, - 143, 143, 143, 143, 143, 143, 65, 145, 145, 145, - 86, 77, 145, 145, 145, 86, 143, 143, 143, 143, - 143, 77, 143, 71, 145, 145, 145, 145, 145, 143, - 143, 71, 143, 143, 143, 145, 145, 76, 145, 145, - 143, 143, 143, 143, 76, 145, 145, 61, 60, 61, - 60, 143, 143, 145, 145, 143, 143, 145, 145, 143, - 143, 145, 145, 143, 143, 145, 145, 143, 143, 145, - 145, 143, 143, 145, 145, 143, 143, 70, 145, 70, - - 143, 145, 143, 72, 72, 0 - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 5, 6, 7, 8, 9, 10, 1, 11, - 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, - 20, 20, 20, 20, 20, 20, 20, 21, 22, 23, - 24, 25, 26, 1, 27, 28, 29, 30, 31, 32, - 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, - 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, - 53, 54, 55, 1, 56, 1, 57, 58, 59, 60, - - 61, 62, 63, 64, 65, 49, 66, 67, 68, 69, - 70, 71, 49, 72, 73, 74, 75, 49, 49, 76, - 49, 77, 78, 79, 80, 81, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst int yy_meta[82] = - { 0, - 1, 1, 2, 1, 1, 1, 1, 3, 1, 1, - 1, 1, 4, 5, 6, 5, 7, 3, 8, 8, - 5, 1, 1, 6, 1, 4, 8, 8, 8, 8, - 8, 8, 9, 9, 9, 9, 8, 9, 8, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 5, 3, 5, 9, 8, 8, 8, 8, - 8, 8, 9, 9, 9, 8, 9, 8, 9, 9, - 9, 9, 9, 9, 9, 8, 9, 1, 1, 1, - 3 - } ; - -static yyconst short int yy_base[1028] = - { 0, - 0, 0, 0, 0, 81, 0, 155, 0, 225, 0, - 306, 0, 386, 392, 470, 551, 632, 713, 1949, 1950, - 1950, 1950, 1950, 1950, 1924, 1941, 776, 1950, 154, 1950, - 1950, 1922, 1921, 0, 1920, 0, 152, 820, 1867, 0, - 1950, 143, 1918, 144, 0, 142, 362, 357, 360, 131, - 368, 1897, 1902, 1899, 150, 146, 161, 161, 176, 1891, - 373, 1903, 1890, 0, 0, 148, 1851, 1831, 1831, 1950, - 368, 1950, 0, 1950, 1950, 1950, 1868, 1885, 878, 1950, - 392, 1950, 1950, 1866, 1854, 1950, 386, 0, 398, 922, - 1793, 1950, 1950, 391, 1836, 393, 1950, 980, 393, 399, - - 404, 413, 1811, 1813, 1798, 184, 389, 1790, 1793, 1795, - 1950, 1950, 469, 1708, 1950, 388, 1950, 0, 1038, 463, - 464, 732, 549, 626, 744, 479, 560, 1734, 1731, 415, - 427, 424, 413, 434, 1723, 475, 1742, 1737, 639, 640, - 1706, 1694, 1082, 1950, 1950, 0, 1950, 1126, 1950, 1950, - 1762, 1176, 1740, 1739, 1950, 1738, 0, 1737, 0, 1684, - 1950, 0, 1735, 1950, 1220, 484, 508, 476, 552, 500, - 428, 1731, 1713, 1709, 474, 1711, 1950, 1950, 553, 555, - 634, 633, 712, 134, 1697, 1681, 1677, 533, 1679, 0, - 1748, 1950, 1950, 0, 1950, 0, 1950, 1950, 1950, 0, - - 1682, 1678, 1950, 1741, 1950, 0, 0, 1670, 1950, 1950, - 0, 0, 0, 0, 0, 0, 747, 1721, 1950, 0, - 1950, 1720, 468, 457, 1708, 0, 1702, 1700, 1694, 181, - 1708, 502, 1707, 1691, 1698, 1694, 1690, 1692, 1694, 581, - 1691, 569, 1688, 1690, 1678, 587, 1692, 1680, 1694, 1694, - 1682, 1690, 595, 1675, 1663, 1687, 1668, 1668, 1666, 509, - 1635, 1636, 1616, 1950, 1950, 0, 1278, 1616, 1950, 1950, - 1950, 0, 1950, 0, 1615, 1614, 1950, 1950, 706, 1950, - 636, 711, 771, 0, 0, 1654, 0, 786, 1648, 1646, - 1644, 826, 1654, 1643, 1651, 1655, 1631, 1640, 1629, 479, - - 1647, 1636, 1624, 838, 1598, 807, 823, 0, 0, 824, - 894, 1628, 633, 1642, 880, 1626, 1633, 1629, 1625, 1630, - 651, 1627, 581, 618, 1627, 652, 1630, 1618, 1632, 1632, - 1634, 674, 1619, 1632, 1613, 1613, 1612, 848, 1586, 1591, - 0, 1577, 0, 0, 1649, 1647, 0, 1336, 1574, 0, - 0, 1950, 0, 714, 716, 720, 0, 0, 1614, 783, - 887, 1613, 1617, 1600, 1601, 1599, 1616, 1598, 1606, 1607, - 1605, 1606, 1585, 749, 1565, 792, 892, 1559, 1559, 1539, - 1540, 1538, 1553, 1541, 1548, 1549, 1547, 1548, 1529, 1601, - 0, 0, 0, 1532, 1542, 1950, 1950, 1559, 645, 1566, - - 1568, 1568, 1565, 1550, 1543, 1566, 390, 1563, 1547, 1552, - 1562, 1559, 1540, 0, 1548, 1544, 1537, 1550, 1552, 1548, - 0, 1539, 1533, 1534, 1539, 1535, 1542, 1532, 1529, 1528, - 1523, 1540, 1525, 1522, 1523, 1535, 1521, 1526, 1530, 1512, - 1486, 0, 0, 1494, 1535, 0, 1512, 947, 1519, 1520, - 1515, 1488, 959, 1504, 1485, 1490, 1500, 0, 0, 1483, - 1484, 1486, 1482, 1477, 1493, 1453, 1461, 983, 1490, 1475, - 1492, 908, 1474, 1479, 1489, 1486, 0, 1476, 1466, 1479, - 1478, 0, 1469, 1471, 1475, 1465, 1462, 1461, 1474, 1459, - 1456, 1457, 1456, 1461, 1465, 1452, 0, 0, 889, 1950, - - 1394, 1455, 510, 1464, 1463, 1451, 0, 1461, 1452, 1444, - 1459, 1457, 1456, 1448, 1439, 1440, 1443, 1407, 690, 1415, - 1414, 1403, 0, 1412, 1404, 1396, 1404, 1398, 1389, 1382, - 1374, 1375, 1377, 1387, 1387, 1405, 0, 1402, 0, 1404, - 0, 1394, 0, 1393, 1398, 1391, 1385, 0, 1389, 1403, - 1391, 1385, 0, 1385, 1384, 1402, 0, 1384, 0, 1386, - 1379, 1392, 1383, 1370, 1378, 1370, 1376, 0, 1381, 1374, - 1362, 1366, 1360, 1370, 1372, 1366, 1333, 1329, 1354, 0, - 1351, 0, 1353, 0, 1349, 1342, 1345, 0, 1359, 0, - 1344, 1357, 1345, 1347, 1340, 1313, 1309, 0, 1332, 1331, - - 1325, 0, 1328, 1341, 1324, 1324, 1323, 0, 1318, 1320, - 1325, 1312, 1320, 1312, 0, 1324, 1317, 1305, 1304, 1314, - 1317, 1312, 967, 1307, 1298, 1302, 0, 0, 0, 1297, - 1307, 1456, 0, 0, 1289, 1297, 0, 1285, 1301, 1262, - 1255, 1258, 0, 0, 0, 1254, 1268, 1536, 0, 0, - 1252, 1258, 0, 1248, 1262, 1263, 1252, 1271, 0, 0, - 1272, 1283, 1282, 0, 0, 0, 1256, 0, 1281, 0, - 1270, 1273, 1251, 1256, 1273, 1269, 1255, 1248, 1266, 0, - 1262, 1257, 1248, 0, 1255, 1238, 1255, 1230, 1234, 1199, - 1211, 1225, 0, 0, 1240, 0, 0, 1239, 1223, 1237, - - 1239, 1235, 1232, 1188, 1200, 1216, 1225, 0, 0, 1199, - 1223, 0, 1212, 1194, 1217, 1203, 1196, 1214, 0, 1198, - 1190, 0, 1183, 1201, 1182, 1186, 1179, 0, 1186, 1184, - 1177, 0, 1616, 0, 1193, 0, 1194, 1145, 0, 1151, - 1149, 1143, 0, 1696, 0, 1157, 0, 1158, 1147, 0, - 1167, 1165, 1155, 1180, 1180, 1171, 0, 1171, 0, 1155, - 1153, 0, 0, 1142, 1146, 1162, 1135, 1150, 1133, 1140, - 0, 0, 1141, 1106, 1123, 1132, 1147, 1146, 1130, 0, - 1123, 1142, 1116, 1097, 1114, 1122, 1112, 1138, 1135, 0, - 0, 1118, 0, 1106, 1110, 1104, 1119, 1110, 0, 0, - - 1111, 1104, 1108, 0, 0, 0, 1102, 1073, 1068, 0, - 0, 0, 1063, 0, 1105, 1106, 1093, 0, 1092, 0, - 1088, 1087, 0, 732, 0, 0, 1100, 1084, 1094, 0, - 0, 1066, 1062, 1094, 0, 1080, 1079, 0, 0, 1088, - 1060, 1056, 1090, 1077, 1076, 0, 0, 758, 0, 1086, - 1070, 0, 0, 1077, 1077, 1075, 118, 366, 387, 0, - 406, 531, 550, 0, 572, 570, 577, 592, 0, 609, - 0, 608, 0, 0, 657, 665, 0, 639, 658, 698, - 707, 711, 724, 738, 0, 0, 0, 0, 0, 0, - 0, 738, 752, 758, 770, 789, 775, 781, 800, 772, - - 799, 814, 788, 812, 819, 831, 842, 830, 849, 850, - 864, 859, 856, 868, 864, 0, 874, 858, 877, 893, - 869, 890, 913, 917, 930, 927, 0, 922, 939, 929, - 0, 0, 943, 940, 912, 0, 947, 934, 951, 972, - 963, 0, 986, 0, 969, 960, 977, 980, 953, 984, - 957, 0, 985, 976, 988, 980, 1016, 0, 1000, 974, - 1007, 980, 998, 1028, 0, 1014, 1022, 0, 0, 0, - 0, 1016, 1024, 1012, 1026, 1020, 1034, 1034, 1033, 1036, - 1035, 1049, 1049, 1051, 1051, 1040, 1055, 1042, 1057, 1047, - 1040, 1049, 1042, 1044, 1055, 1046, 1057, 0, 1052, 0, - - 1053, 1063, 1064, 0, 0, 1950, 1776, 1785, 1794, 1803, - 1812, 1819, 1826, 1097, 1833, 1842, 1849, 1858, 1867, 1876, - 1879, 1885, 1892, 1901, 1910, 1919, 1928 - } ; - -static yyconst short int yy_def[1028] = - { 0, - 1007, 1007, 1006, 3, 1006, 5, 5, 7, 1006, 9, - 1006, 11, 1008, 1008, 1009, 1009, 1010, 1010, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1011, 1012, 1006, 1006, 1006, - 1006, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 38, 1012, - 1006, 1006, 1012, 1006, 1012, 38, 38, 38, 38, 38, - 38, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 38, 1012, 1012, 1012, 1006, - 1006, 1006, 1012, 1006, 1006, 1006, 1006, 1011, 1013, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1013, 1013, 1006, - 90, 1006, 1006, 1006, 1006, 1006, 1006, 1013, 98, 98, - - 98, 98, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1006, 1006, 98, 1013, 1006, 1006, 1006, 1013, 1013, 1014, - 1014, 119, 119, 119, 119, 119, 119, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 119, 119, - 1013, 1013, 1015, 1006, 1006, 1015, 1006, 1015, 1006, 1006, - 1016, 1017, 1018, 1006, 1006, 1006, 1017, 1017, 90, 90, - 1006, 1019, 1006, 1006, 1017, 165, 165, 165, 165, 165, - 1017, 1017, 1017, 1017, 1017, 1017, 1006, 1006, 165, 165, - 165, 165, 165, 1017, 1017, 1017, 1017, 1017, 1017, 1017, - 1006, 1006, 1006, 1020, 1006, 1021, 1006, 1006, 1006, 1022, - - 1022, 1022, 1006, 1011, 1006, 1012, 38, 38, 1006, 1006, - 1012, 1012, 1012, 1012, 1012, 1012, 38, 1006, 1006, 1012, - 1006, 1006, 38, 38, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 38, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 38, - 1012, 1012, 1012, 1006, 1006, 1013, 1013, 267, 1006, 1006, - 1006, 1023, 1006, 1013, 90, 90, 1006, 1006, 121, 1006, - 98, 98, 98, 1013, 1013, 1013, 1013, 98, 1013, 1013, - 1013, 98, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - - 1013, 1013, 1013, 98, 1013, 119, 119, 121, 279, 119, - 119, 1013, 1013, 1013, 119, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 119, 1013, 1013, - 1015, 148, 148, 1015, 1016, 1006, 1017, 1017, 348, 1018, - 1018, 1006, 1019, 165, 165, 165, 1017, 1017, 1017, 165, - 165, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, - 1017, 1017, 1017, 165, 1017, 165, 165, 1017, 1017, 1017, - 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1006, - 1020, 1021, 1022, 1022, 1022, 1006, 1006, 1012, 38, 1012, - - 1012, 1012, 1012, 1012, 1012, 1012, 38, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 119, 1023, 1013, 98, 1013, 1013, - 1013, 1013, 98, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 119, 1013, 1013, - 1013, 119, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 148, 1006, - - 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, - 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, - 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, - 1017, 1017, 1017, 1022, 1022, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 501, 1017, 1017, 1017, 1017, 1017, 1017, 1017, - 1017, 1024, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, - 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1025, 1017, 1017, - 1017, 1017, 1017, 1017, 1017, 1022, 1022, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1017, 1017, 1017, 1017, - 1017, 1026, 1024, 1017, 1017, 1017, 1017, 1017, 1017, 1017, - 1017, 1017, 1027, 1025, 1017, 1017, 1017, 1017, 1022, 1022, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - - 1013, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, - 1017, 1017, 1017, 1022, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1012, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1017, 1017, 1017, 1017, 1017, 1017, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - 1012, 1012, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1017, 1017, 1017, 1017, 1017, - 1017, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, - - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1012, - 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1013, 1013, - 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1012, 1012, 1012, - 1012, 1012, 1012, 1012, 1012, 1013, 1013, 1013, 1013, 1013, - 1013, 1013, 1013, 1012, 1012, 1012, 1012, 1012, 1012, 1013, - 1013, 1013, 1013, 1013, 1013, 1012, 1012, 1012, 1012, 1012, - 1013, 1013, 1013, 1013, 1013, 1012, 1012, 1012, 1012, 1013, - 1013, 1013, 1013, 1012, 1012, 1013, 1013, 1012, 1012, 1013, - 1013, 1012, 1012, 1013, 1013, 1012, 1012, 1013, 1013, 1012, - 1012, 1013, 1013, 1012, 1012, 1013, 1013, 1012, 1012, 1013, - - 1013, 1012, 1013, 1012, 1013, 0, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006 - } ; - -static yyconst short int yy_nxt[2032] = - { 0, - 21, 22, 23, 24, 25, 26, 21, 27, 28, 29, - 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 36, 36, 55, 56, 57, - 58, 59, 60, 36, 61, 62, 36, 63, 36, 36, - 36, 36, 64, 36, 65, 36, 66, 39, 39, 39, - 39, 39, 36, 36, 36, 36, 67, 36, 36, 68, - 36, 36, 69, 36, 36, 36, 36, 70, 71, 72, - 73, 74, 75, 23, 76, 77, 78, 74, 79, 80, - 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, - - 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, - 101, 102, 102, 103, 88, 104, 88, 88, 105, 106, - 107, 108, 109, 88, 88, 110, 88, 88, 88, 88, - 88, 88, 88, 111, 88, 112, 88, 113, 102, 102, - 102, 102, 102, 88, 88, 88, 88, 88, 88, 88, - 88, 88, 88, 114, 88, 88, 88, 88, 115, 116, - 117, 118, 119, 209, 214, 218, 219, 221, 222, 223, - 234, 224, 243, 120, 121, 215, 244, 210, 889, 225, - 241, 122, 123, 124, 125, 126, 127, 226, 128, 129, - 242, 245, 130, 131, 132, 133, 134, 135, 382, 136, - - 137, 246, 138, 383, 247, 260, 206, 248, 249, 250, - 297, 139, 140, 140, 140, 140, 140, 206, 298, 251, - 404, 141, 405, 206, 142, 74, 74, 20, 74, 74, - 74, 74, 143, 74, 74, 74, 74, 74, 144, 74, - 145, 146, 146, 120, 121, 74, 74, 74, 147, 74, - 74, 148, 148, 148, 148, 148, 148, 146, 146, 146, - 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, - 146, 146, 146, 146, 146, 146, 146, 74, 146, 74, - 146, 148, 148, 148, 148, 148, 148, 146, 146, 146, - 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, - - 146, 146, 74, 74, 74, 146, 21, 22, 149, 150, - 25, 21, 151, 152, 28, 29, 30, 31, 153, 154, - 155, 156, 157, 158, 159, 160, 161, 162, 42, 163, - 44, 164, 165, 166, 167, 168, 169, 170, 157, 157, - 157, 157, 157, 171, 157, 172, 173, 174, 157, 157, - 175, 176, 157, 157, 157, 157, 157, 157, 177, 157, - 178, 157, 179, 180, 181, 168, 182, 183, 157, 157, - 157, 157, 184, 157, 185, 186, 187, 157, 188, 189, - 157, 157, 157, 70, 71, 72, 190, 191, 192, 193, - 232, 264, 194, 191, 192, 193, 227, 230, 194, 228, - - 231, 209, 235, 253, 233, 236, 254, 255, 237, 271, - 273, 264, 229, 218, 219, 210, 221, 222, 256, 299, - 288, 274, 288, 257, 545, 890, 288, 289, 288, 300, - 290, 288, 206, 288, 292, 206, 266, 206, 266, 291, - 288, 266, 288, 206, 266, 322, 265, 891, 293, 266, - 266, 892, 272, 324, 299, 323, 327, 325, 266, 328, - 329, 298, 366, 195, 326, 206, 265, 330, 367, 195, - 21, 191, 192, 193, 21, 21, 194, 302, 21, 21, - 21, 21, 21, 21, 197, 21, 399, 21, 21, 21, - 197, 197, 21, 21, 21, 21, 288, 307, 288, 278, - - 278, 278, 278, 356, 371, 332, 266, 461, 333, 303, - 360, 356, 398, 347, 266, 285, 462, 285, 316, 372, - 334, 347, 21, 21, 21, 335, 304, 356, 278, 278, - 278, 278, 206, 407, 361, 356, 625, 347, 309, 1006, - 365, 362, 626, 206, 285, 347, 285, 198, 21, 199, - 21, 21, 191, 192, 193, 21, 21, 194, 893, 21, - 21, 21, 21, 21, 21, 197, 21, 307, 21, 21, - 21, 197, 197, 21, 21, 21, 21, 206, 307, 356, - 356, 441, 356, 289, 206, 285, 290, 285, 894, 347, - 347, 363, 347, 387, 317, 419, 285, 318, 285, 312, - - 319, 364, 895, 21, 21, 21, 388, 457, 420, 415, - 374, 376, 416, 896, 285, 424, 285, 897, 425, 375, - 481, 433, 417, 434, 426, 285, 898, 285, 198, 21, - 199, 21, 21, 191, 192, 193, 21, 21, 194, 899, - 21, 21, 21, 21, 307, 21, 197, 21, 21, 21, - 21, 21, 197, 197, 21, 21, 21, 307, 307, 482, - 356, 356, 285, 288, 285, 288, 313, 458, 900, 314, - 347, 347, 470, 266, 452, 285, 285, 285, 285, 478, - 461, 266, 456, 484, 21, 21, 21, 901, 537, 462, - 377, 285, 479, 285, 201, 902, 338, 378, 202, 903, - - 490, 379, 491, 904, 285, 285, 285, 285, 380, 21, - 21, 199, 21, 21, 191, 192, 193, 21, 21, 194, - 206, 21, 21, 21, 21, 905, 21, 197, 21, 21, - 21, 21, 21, 197, 197, 21, 21, 21, 288, 356, - 288, 356, 1006, 356, 1006, 906, 641, 356, 266, 347, - 307, 347, 642, 347, 907, 447, 266, 347, 866, 310, - 502, 311, 307, 867, 908, 21, 21, 21, 285, 286, - 285, 1006, 909, 1006, 315, 201, 356, 287, 910, 202, - 285, 381, 285, 206, 882, 206, 347, 911, 293, 883, - 21, 21, 199, 21, 207, 208, 912, 285, 288, 285, - - 448, 913, 208, 208, 208, 208, 208, 208, 266, 285, - 356, 285, 206, 288, 206, 288, 266, 914, 915, 356, - 347, 518, 206, 266, 916, 307, 917, 504, 918, 347, - 919, 266, 208, 208, 208, 208, 208, 208, 208, 208, - 920, 307, 307, 285, 921, 285, 208, 208, 208, 208, - 208, 208, 922, 288, 923, 288, 216, 453, 216, 285, - 285, 285, 285, 266, 520, 288, 307, 288, 447, 924, - 925, 266, 285, 926, 285, 266, 208, 208, 208, 208, - 208, 208, 445, 266, 285, 216, 285, 216, 285, 285, - 285, 285, 927, 928, 929, 217, 267, 268, 307, 930, - - 931, 932, 933, 934, 268, 268, 268, 268, 268, 268, - 466, 472, 307, 285, 356, 285, 285, 935, 285, 356, - 466, 936, 937, 468, 347, 341, 307, 341, 938, 347, - 285, 505, 285, 939, 268, 268, 268, 268, 268, 268, - 275, 275, 585, 940, 285, 285, 285, 285, 275, 276, - 275, 276, 275, 275, 341, 277, 341, 941, 278, 285, - 278, 285, 277, 942, 521, 943, 944, 945, 946, 947, - 948, 277, 949, 285, 288, 285, 288, 950, 275, 276, - 275, 276, 275, 275, 266, 277, 288, 278, 288, 278, - 580, 277, 266, 585, 951, 952, 266, 279, 281, 281, - - 953, 307, 954, 358, 266, 358, 281, 282, 281, 283, - 281, 281, 955, 284, 956, 957, 285, 286, 285, 285, - 284, 285, 958, 959, 960, 287, 580, 961, 962, 284, - 963, 964, 358, 965, 358, 966, 281, 288, 281, 288, - 281, 281, 967, 284, 968, 285, 969, 285, 285, 284, - 285, 970, 971, 972, 973, 284, 306, 307, 974, 975, - 976, 977, 978, 979, 307, 307, 307, 307, 307, 307, - 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, - 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, - 1000, 1001, 1002, 1003, 307, 307, 307, 307, 307, 307, - - 342, 343, 1004, 1005, 308, 888, 887, 886, 343, 343, - 343, 343, 343, 343, 885, 884, 881, 880, 879, 878, - 877, 876, 875, 874, 873, 872, 871, 870, 869, 868, - 865, 864, 863, 862, 861, 860, 859, 858, 343, 343, - 343, 343, 343, 343, 343, 343, 857, 856, 855, 854, - 853, 852, 343, 343, 343, 343, 343, 343, 851, 850, - 849, 848, 344, 847, 344, 846, 845, 844, 843, 842, - 841, 840, 839, 838, 837, 836, 835, 834, 833, 832, - 831, 830, 343, 343, 343, 343, 343, 343, 829, 828, - 827, 344, 826, 344, 348, 349, 825, 824, 823, 822, - - 821, 820, 349, 349, 349, 349, 349, 349, 819, 818, - 817, 816, 815, 814, 813, 812, 811, 810, 809, 808, - 807, 806, 805, 804, 803, 802, 801, 800, 799, 798, - 797, 796, 349, 349, 349, 349, 349, 349, 354, 354, - 795, 794, 793, 792, 791, 790, 354, 355, 354, 356, - 354, 354, 789, 357, 788, 787, 358, 359, 358, 786, - 357, 785, 784, 783, 782, 781, 780, 779, 778, 357, - 777, 776, 775, 774, 773, 772, 354, 356, 354, 356, - 354, 354, 771, 357, 770, 358, 769, 358, 768, 357, - 767, 766, 765, 764, 763, 357, 268, 268, 762, 761, - - 760, 759, 758, 757, 268, 268, 268, 268, 268, 268, - 756, 755, 754, 753, 285, 752, 285, 751, 750, 749, - 748, 747, 746, 745, 742, 741, 740, 739, 738, 737, - 736, 735, 734, 731, 268, 268, 268, 268, 268, 268, - 730, 729, 728, 285, 727, 285, 726, 725, 724, 723, - 722, 721, 720, 445, 349, 349, 719, 718, 717, 716, - 715, 714, 349, 349, 349, 349, 349, 349, 713, 712, - 711, 710, 358, 709, 358, 708, 707, 706, 705, 704, - 703, 702, 701, 700, 699, 698, 697, 696, 695, 694, - 693, 692, 349, 349, 349, 349, 349, 349, 691, 690, - - 689, 358, 688, 358, 687, 686, 685, 684, 683, 682, - 681, 501, 623, 623, 680, 679, 678, 677, 676, 675, - 623, 623, 623, 623, 623, 623, 674, 673, 672, 671, - 670, 669, 668, 667, 666, 665, 664, 663, 662, 661, - 660, 659, 658, 657, 656, 655, 654, 653, 652, 651, - 623, 623, 623, 623, 623, 623, 732, 732, 650, 732, - 732, 732, 732, 649, 732, 732, 732, 732, 732, 648, - 732, 647, 646, 645, 644, 643, 640, 732, 732, 732, - 732, 732, 639, 638, 637, 636, 635, 634, 633, 632, - 631, 630, 629, 628, 627, 624, 622, 621, 620, 619, - - 618, 617, 616, 615, 614, 613, 612, 611, 610, 609, - 608, 607, 606, 605, 604, 603, 602, 601, 600, 599, - 598, 597, 596, 595, 594, 593, 592, 591, 590, 589, - 588, 587, 586, 732, 732, 732, 743, 743, 584, 743, - 743, 743, 743, 583, 743, 743, 743, 743, 743, 582, - 743, 581, 579, 307, 578, 577, 576, 743, 743, 743, - 743, 743, 575, 574, 573, 572, 571, 570, 569, 568, - 567, 566, 565, 564, 563, 562, 561, 560, 559, 558, - 557, 556, 555, 554, 553, 552, 551, 550, 549, 548, - 547, 546, 544, 543, 542, 541, 540, 539, 538, 536, - - 535, 534, 390, 533, 532, 531, 530, 529, 528, 527, - 526, 525, 524, 743, 743, 743, 732, 732, 523, 732, - 732, 732, 732, 522, 732, 732, 732, 732, 732, 519, - 732, 517, 516, 515, 514, 513, 512, 732, 732, 732, - 732, 732, 511, 510, 509, 508, 507, 506, 503, 347, - 500, 346, 499, 498, 497, 496, 495, 494, 493, 492, - 489, 488, 487, 486, 485, 483, 480, 477, 476, 475, - 474, 473, 471, 469, 467, 465, 464, 463, 460, 459, - 458, 457, 456, 455, 454, 452, 451, 450, 449, 277, - 277, 266, 444, 732, 732, 732, 743, 743, 443, 743, - - 743, 743, 743, 442, 743, 743, 743, 743, 743, 440, - 743, 439, 438, 437, 436, 435, 432, 743, 743, 743, - 743, 743, 431, 430, 429, 428, 427, 423, 422, 421, - 418, 414, 413, 412, 411, 410, 409, 408, 406, 403, - 402, 401, 400, 397, 396, 206, 205, 395, 394, 390, - 389, 386, 385, 384, 373, 370, 369, 368, 280, 277, - 352, 271, 270, 351, 346, 340, 339, 337, 336, 331, - 321, 320, 305, 743, 743, 743, 20, 20, 20, 20, - 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 196, 196, 196, 196, 196, 196, - - 196, 196, 196, 200, 200, 200, 200, 200, 200, 200, - 200, 200, 204, 204, 204, 204, 204, 204, 204, 204, - 204, 206, 206, 206, 206, 206, 206, 206, 266, 303, - 266, 266, 266, 266, 266, 341, 302, 301, 296, 341, - 341, 341, 345, 345, 345, 345, 345, 345, 345, 345, - 345, 347, 295, 347, 294, 347, 347, 347, 350, 280, - 350, 350, 350, 350, 350, 350, 350, 353, 277, 353, - 353, 353, 353, 353, 353, 353, 391, 270, 391, 391, - 391, 391, 391, 391, 391, 392, 392, 392, 393, 269, - 205, 203, 393, 393, 446, 263, 446, 446, 446, 446, - - 446, 733, 262, 733, 733, 733, 733, 733, 733, 733, - 744, 261, 744, 744, 744, 744, 744, 744, 744, 732, - 259, 732, 732, 732, 732, 732, 732, 732, 743, 258, - 743, 743, 743, 743, 743, 743, 743, 252, 240, 239, - 238, 220, 206, 213, 212, 211, 205, 203, 1006, 19, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006 - } ; - -static yyconst short int yy_chk[2032] = - { 0, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 7, 29, 37, 42, 42, 44, 44, 46, - 50, 46, 56, 7, 7, 37, 56, 29, 857, 46, - 55, 7, 7, 7, 7, 7, 7, 46, 7, 7, - 55, 57, 7, 7, 7, 7, 7, 7, 184, 7, - - 7, 57, 7, 184, 58, 66, 50, 58, 58, 59, - 106, 7, 7, 7, 7, 7, 7, 46, 106, 59, - 230, 7, 230, 66, 7, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - - 9, 9, 9, 9, 9, 9, 11, 11, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 13, 13, 13, - 49, 71, 13, 14, 14, 14, 47, 48, 14, 47, - - 48, 81, 51, 61, 49, 51, 61, 61, 51, 87, - 89, 116, 47, 94, 94, 81, 96, 96, 61, 107, - 99, 89, 99, 61, 407, 858, 100, 99, 100, 107, - 99, 101, 48, 101, 101, 49, 100, 47, 99, 100, - 102, 101, 102, 51, 100, 130, 71, 859, 101, 101, - 102, 861, 87, 131, 132, 130, 133, 131, 102, 133, - 133, 131, 171, 13, 132, 407, 116, 134, 171, 14, - 15, 15, 15, 15, 15, 15, 15, 134, 15, 15, - 15, 15, 15, 15, 15, 15, 224, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 113, 126, 113, 120, - - 121, 120, 121, 168, 175, 136, 113, 300, 136, 136, - 166, 166, 223, 168, 113, 126, 300, 126, 126, 175, - 136, 166, 15, 15, 15, 136, 113, 170, 120, 121, - 120, 121, 224, 232, 167, 167, 503, 170, 120, 121, - 170, 167, 503, 223, 126, 167, 126, 15, 15, 15, - 15, 16, 16, 16, 16, 16, 16, 16, 862, 16, - 16, 16, 16, 16, 16, 16, 16, 123, 16, 16, - 16, 16, 16, 16, 16, 16, 16, 232, 127, 169, - 179, 260, 180, 123, 260, 123, 123, 123, 863, 169, - 179, 169, 180, 188, 127, 242, 127, 127, 127, 123, - - 127, 169, 865, 16, 16, 16, 188, 323, 242, 240, - 179, 180, 240, 866, 123, 246, 123, 867, 246, 179, - 323, 253, 240, 253, 246, 127, 868, 127, 16, 16, - 16, 16, 17, 17, 17, 17, 17, 17, 17, 870, - 17, 17, 17, 17, 124, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 139, 140, 324, - 182, 181, 124, 281, 124, 281, 124, 324, 872, 124, - 182, 181, 313, 281, 313, 139, 140, 139, 140, 321, - 326, 281, 321, 326, 17, 17, 17, 875, 399, 326, - 181, 124, 321, 124, 17, 876, 139, 181, 17, 878, - - 332, 182, 332, 879, 139, 140, 139, 140, 182, 17, - 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, - 399, 18, 18, 18, 18, 880, 18, 18, 18, 18, - 18, 18, 18, 18, 18, 18, 18, 18, 282, 183, - 282, 354, 279, 355, 279, 881, 519, 356, 282, 183, - 122, 354, 519, 355, 882, 282, 282, 356, 824, 122, - 355, 122, 125, 824, 883, 18, 18, 18, 122, 122, - 122, 279, 884, 279, 125, 18, 374, 122, 892, 18, - 125, 183, 125, 217, 848, 217, 374, 893, 125, 848, - 18, 18, 18, 18, 27, 27, 894, 122, 283, 122, - - 283, 895, 27, 27, 27, 27, 27, 27, 283, 125, - 360, 125, 217, 288, 217, 288, 283, 896, 897, 376, - 360, 374, 217, 288, 898, 306, 899, 360, 900, 376, - 901, 288, 27, 27, 27, 27, 27, 27, 38, 38, - 902, 307, 310, 306, 903, 306, 38, 38, 38, 38, - 38, 38, 904, 292, 905, 292, 38, 292, 38, 307, - 310, 307, 310, 292, 376, 304, 338, 304, 310, 906, - 907, 292, 306, 908, 306, 304, 38, 38, 38, 38, - 38, 38, 306, 304, 338, 38, 338, 38, 307, 310, - 307, 310, 909, 910, 911, 38, 79, 79, 315, 912, - - 913, 914, 915, 917, 79, 79, 79, 79, 79, 79, - 304, 315, 311, 338, 361, 338, 315, 918, 315, 377, - 338, 919, 920, 311, 361, 499, 472, 499, 921, 377, - 311, 361, 311, 922, 79, 79, 79, 79, 79, 79, - 90, 90, 472, 923, 472, 315, 472, 315, 90, 90, - 90, 90, 90, 90, 499, 90, 499, 924, 90, 311, - 90, 311, 90, 925, 377, 926, 928, 929, 930, 933, - 934, 90, 935, 472, 448, 472, 448, 937, 90, 90, - 90, 90, 90, 90, 448, 90, 453, 90, 453, 90, - 448, 90, 448, 453, 938, 939, 453, 90, 98, 98, - - 940, 468, 941, 623, 453, 623, 98, 98, 98, 98, - 98, 98, 943, 98, 945, 946, 98, 98, 98, 468, - 98, 468, 947, 948, 949, 98, 468, 950, 951, 98, - 953, 954, 623, 955, 623, 956, 98, 98, 98, 98, - 98, 98, 957, 98, 959, 98, 960, 98, 468, 98, - 468, 961, 962, 963, 964, 98, 119, 119, 966, 967, - 972, 973, 974, 975, 119, 119, 119, 119, 119, 119, - 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, - 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, - 996, 997, 999, 1001, 119, 119, 119, 119, 119, 119, - - 143, 143, 1002, 1003, 1014, 856, 855, 854, 143, 143, - 143, 143, 143, 143, 851, 850, 845, 844, 843, 842, - 841, 840, 837, 836, 834, 833, 832, 829, 828, 827, - 822, 821, 819, 817, 816, 815, 813, 809, 143, 143, - 143, 143, 143, 143, 148, 148, 808, 807, 803, 802, - 801, 798, 148, 148, 148, 148, 148, 148, 797, 796, - 795, 794, 148, 792, 148, 789, 788, 787, 786, 785, - 784, 783, 782, 781, 779, 778, 777, 776, 775, 774, - 773, 770, 148, 148, 148, 148, 148, 148, 769, 768, - 767, 148, 766, 148, 152, 152, 765, 764, 761, 760, - - 758, 756, 152, 152, 152, 152, 152, 152, 755, 754, - 753, 752, 751, 749, 748, 746, 742, 741, 740, 738, - 737, 735, 731, 730, 729, 727, 726, 725, 724, 723, - 721, 720, 152, 152, 152, 152, 152, 152, 165, 165, - 718, 717, 716, 715, 714, 713, 165, 165, 165, 165, - 165, 165, 711, 165, 710, 707, 165, 165, 165, 706, - 165, 705, 704, 703, 702, 701, 700, 699, 698, 165, - 695, 692, 691, 690, 689, 688, 165, 165, 165, 165, - 165, 165, 687, 165, 686, 165, 685, 165, 683, 165, - 682, 681, 679, 678, 677, 165, 267, 267, 676, 675, - - 674, 673, 672, 671, 267, 267, 267, 267, 267, 267, - 669, 667, 663, 662, 267, 661, 267, 658, 657, 656, - 655, 654, 652, 651, 647, 646, 642, 641, 640, 639, - 638, 636, 635, 631, 267, 267, 267, 267, 267, 267, - 630, 626, 625, 267, 624, 267, 622, 621, 620, 619, - 618, 617, 616, 267, 348, 348, 614, 613, 612, 611, - 610, 609, 348, 348, 348, 348, 348, 348, 607, 606, - 605, 604, 348, 603, 348, 601, 600, 599, 597, 596, - 595, 594, 593, 592, 591, 589, 587, 586, 585, 583, - 581, 579, 348, 348, 348, 348, 348, 348, 578, 577, - - 576, 348, 575, 348, 574, 573, 572, 571, 570, 569, - 567, 348, 501, 501, 566, 565, 564, 563, 562, 561, - 501, 501, 501, 501, 501, 501, 560, 558, 556, 555, - 554, 552, 551, 550, 549, 547, 546, 545, 544, 542, - 540, 538, 536, 535, 534, 533, 532, 531, 530, 529, - 501, 501, 501, 501, 501, 501, 632, 632, 528, 632, - 632, 632, 632, 527, 632, 632, 632, 632, 632, 526, - 632, 525, 524, 522, 521, 520, 518, 632, 632, 632, - 632, 632, 517, 516, 515, 514, 513, 512, 511, 510, - 509, 508, 506, 505, 504, 502, 496, 495, 494, 493, - - 492, 491, 490, 489, 488, 487, 486, 485, 484, 483, - 481, 480, 479, 478, 476, 475, 474, 473, 471, 470, - 469, 467, 466, 465, 464, 463, 462, 461, 460, 457, - 456, 455, 454, 632, 632, 632, 648, 648, 452, 648, - 648, 648, 648, 451, 648, 648, 648, 648, 648, 450, - 648, 449, 447, 445, 444, 441, 440, 648, 648, 648, - 648, 648, 439, 438, 437, 436, 435, 434, 433, 432, - 431, 430, 429, 428, 427, 426, 425, 424, 423, 422, - 420, 419, 418, 417, 416, 415, 413, 412, 411, 410, - 409, 408, 406, 405, 404, 403, 402, 401, 400, 398, - - 395, 394, 390, 389, 388, 387, 386, 385, 384, 383, - 382, 381, 380, 648, 648, 648, 733, 733, 379, 733, - 733, 733, 733, 378, 733, 733, 733, 733, 733, 375, - 733, 373, 372, 371, 370, 369, 368, 733, 733, 733, - 733, 733, 367, 366, 365, 364, 363, 362, 359, 349, - 346, 345, 342, 340, 339, 337, 336, 335, 334, 333, - 331, 330, 329, 328, 327, 325, 322, 320, 319, 318, - 317, 316, 314, 312, 305, 303, 302, 301, 299, 298, - 297, 296, 295, 294, 293, 291, 290, 289, 286, 276, - 275, 268, 263, 733, 733, 733, 744, 744, 262, 744, - - 744, 744, 744, 261, 744, 744, 744, 744, 744, 259, - 744, 258, 257, 256, 255, 254, 252, 744, 744, 744, - 744, 744, 251, 250, 249, 248, 247, 245, 244, 243, - 241, 239, 238, 237, 236, 235, 234, 233, 231, 229, - 228, 227, 225, 222, 218, 208, 204, 202, 201, 191, - 189, 187, 186, 185, 176, 174, 173, 172, 163, 160, - 158, 156, 154, 153, 151, 142, 141, 138, 137, 135, - 129, 128, 114, 744, 744, 744, 1007, 1007, 1007, 1007, - 1007, 1007, 1007, 1007, 1007, 1008, 1008, 1008, 1008, 1008, - 1008, 1008, 1008, 1008, 1009, 1009, 1009, 1009, 1009, 1009, - - 1009, 1009, 1009, 1010, 1010, 1010, 1010, 1010, 1010, 1010, - 1010, 1010, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, - 1011, 1012, 1012, 1012, 1012, 1012, 1012, 1012, 1013, 110, - 1013, 1013, 1013, 1013, 1013, 1015, 109, 108, 105, 1015, - 1015, 1015, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, - 1016, 1017, 104, 1017, 103, 1017, 1017, 1017, 1018, 95, - 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1019, 91, 1019, - 1019, 1019, 1019, 1019, 1019, 1019, 1020, 85, 1020, 1020, - 1020, 1020, 1020, 1020, 1020, 1021, 1021, 1021, 1022, 84, - 78, 77, 1022, 1022, 1023, 69, 1023, 1023, 1023, 1023, - - 1023, 1024, 68, 1024, 1024, 1024, 1024, 1024, 1024, 1024, - 1025, 67, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1026, - 63, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1027, 62, - 1027, 1027, 1027, 1027, 1027, 1027, 1027, 60, 54, 53, - 52, 43, 39, 35, 33, 32, 26, 25, 19, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, - 1006 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -char *yytext; -#line 1 "./ldlex.l" -#define INITIAL 0 -#line 2 "./ldlex.l" - -/* Copyright (C) 1991, 92, 93, 94, 95, 96, 1997 Free Software Foundation, Inc. - -This file is part of GLD, the Gnu Linker. - -GLD 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. - -GLD 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 GLD; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* -This was written by steve chamberlain - sac@cygnus.com -*/ - - -#include -#include -#include - -#ifdef MPW -/* Prevent enum redefinition problems. */ -#define TRUE_FALSE_ALREADY_DEFINED -#endif /* MPW */ - -#include "bfd.h" -#include "sysdep.h" -#include "ld.h" -#include "ldgram.h" -#include "ldmisc.h" -#include "ldexp.h" -#include "ldlang.h" -#include "ldfile.h" -#include "ldlex.h" -#include "ldmain.h" - -/* The type of top-level parser input. - yylex and yyparse (indirectly) both check this. */ -input_type parser_input; - -/* Radix to use for bfd_scan_vma -- 0 (default to base 10) or 16. */ -int hex_mode; - -/* Line number in the current input file. - (FIXME Actually, it doesn't appear to get reset for each file?) */ -unsigned int lineno = 1; - -/* The string we are currently lexing, or NULL if we are reading a - file. */ -const char *lex_string = NULL; - -/* Support for flex reading from more than one input file (stream). - `include_stack' is flex's input state for each open file; - `file_name_stack' is the file names. `lineno_stack' is the current - line numbers. - - If `include_stack_ptr' is 0, we haven't started reading anything yet. - Otherwise, stack elements 0 through `include_stack_ptr - 1' are valid. */ - -#undef YY_INPUT -#define YY_INPUT(buf,result,max_size) yy_input(buf, &result, max_size) - -#define MAX_INCLUDE_DEPTH 10 -static YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH]; -static const char *file_name_stack[MAX_INCLUDE_DEPTH]; -static unsigned int lineno_stack[MAX_INCLUDE_DEPTH]; -static unsigned int include_stack_ptr = 0; - -static YY_BUFFER_STATE yy_create_string_buffer PARAMS ((const char *string, - size_t size)); -static void yy_input PARAMS ((char *, int *result, int max_size)); - -static void comment PARAMS ((void)); -static void lex_warn_invalid PARAMS ((char *where, char *what)); - -/* STATES - EXPRESSION definitely in an expression - SCRIPT definitely in a script - BOTH either EXPRESSION or SCRIPT - DEFSYMEXP in an argument to -defsym - MRI in an MRI script - VERS_START starting a Sun style mapfile - VERS_SCRIPT a Sun style mapfile - VERS_NODE a node within a Sun style mapfile -*/ -#define RTOKEN(x) { yylval.token = x; return x; } - -/* Some versions of flex want this. */ -#ifndef yywrap -int yywrap () { return 1; } -#endif -#define SCRIPT 1 - -#define EXPRESSION 2 - -#define BOTH 3 - -#define DEFSYMEXP 4 - -#define MRI 5 - -#define VERS_START 6 - -#define VERS_SCRIPT 7 - -#define VERS_NODE 8 - -#line 1266 "lex.yy.c" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -static void yyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -#if YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 128 "./ldlex.l" - - - if (parser_input != input_selected) - { - /* The first token of the input determines the initial parser state. */ - input_type t = parser_input; - parser_input = input_selected; - switch (t) - { - case input_script: return INPUT_SCRIPT; break; - case input_mri_script: return INPUT_MRI_SCRIPT; break; - case input_version_script: return INPUT_VERSION_SCRIPT; break; - case input_defsym: return INPUT_DEFSYM; break; - default: abort (); - } - } - -#line 1431 "lex.yy.c" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 1007 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 1950 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 145 "./ldlex.l" -{ comment(); } - YY_BREAK -case 2: -YY_RULE_SETUP -#line 148 "./ldlex.l" -{ RTOKEN('-');} - YY_BREAK -case 3: -YY_RULE_SETUP -#line 149 "./ldlex.l" -{ RTOKEN('+');} - YY_BREAK -case 4: -YY_RULE_SETUP -#line 150 "./ldlex.l" -{ yylval.name = buystring(yytext); return NAME; } - YY_BREAK -case 5: -YY_RULE_SETUP -#line 151 "./ldlex.l" -{ RTOKEN('='); } - YY_BREAK -case 6: -YY_RULE_SETUP -#line 153 "./ldlex.l" -{ - yylval.integer = bfd_scan_vma (yytext+1, 0,16); - return INT; - } - YY_BREAK -case 7: -YY_RULE_SETUP -#line 158 "./ldlex.l" -{ - int ibase ; - switch (yytext[yyleng-1]) { - case 'X': - case 'x': - case 'H': - case 'h': - ibase = 16; - break; - case 'O': - case 'o': - ibase = 8; - break; - case 'B': - case 'b': - ibase = 2; - break; - default: - ibase = 10; - } - yylval.integer = bfd_scan_vma (yytext, 0, - ibase); - return INT; - } - YY_BREAK -case 8: -YY_RULE_SETUP -#line 182 "./ldlex.l" -{ - yylval.integer = bfd_scan_vma (yytext, 0, - hex_mode); - if (yytext[yyleng-1]=='M' - || yytext[yyleng-1] == 'm') { - yylval.integer *= 1024*1024; - } - if (yytext[yyleng-1]=='K' - || yytext[yyleng-1]=='k') { - yylval.integer *= 1024; - } - return INT; - } - YY_BREAK -case 9: -YY_RULE_SETUP -#line 195 "./ldlex.l" -{ RTOKEN(']');} - YY_BREAK -case 10: -YY_RULE_SETUP -#line 196 "./ldlex.l" -{ RTOKEN('[');} - YY_BREAK -case 11: -YY_RULE_SETUP -#line 197 "./ldlex.l" -{ RTOKEN(LSHIFTEQ);} - YY_BREAK -case 12: -YY_RULE_SETUP -#line 198 "./ldlex.l" -{ RTOKEN(RSHIFTEQ);} - YY_BREAK -case 13: -YY_RULE_SETUP -#line 199 "./ldlex.l" -{ RTOKEN(OROR);} - YY_BREAK -case 14: -YY_RULE_SETUP -#line 200 "./ldlex.l" -{ RTOKEN(EQ);} - YY_BREAK -case 15: -YY_RULE_SETUP -#line 201 "./ldlex.l" -{ RTOKEN(NE);} - YY_BREAK -case 16: -YY_RULE_SETUP -#line 202 "./ldlex.l" -{ RTOKEN(GE);} - YY_BREAK -case 17: -YY_RULE_SETUP -#line 203 "./ldlex.l" -{ RTOKEN(LE);} - YY_BREAK -case 18: -YY_RULE_SETUP -#line 204 "./ldlex.l" -{ RTOKEN(LSHIFT);} - YY_BREAK -case 19: -YY_RULE_SETUP -#line 205 "./ldlex.l" -{ RTOKEN(RSHIFT);} - YY_BREAK -case 20: -YY_RULE_SETUP -#line 206 "./ldlex.l" -{ RTOKEN(PLUSEQ);} - YY_BREAK -case 21: -YY_RULE_SETUP -#line 207 "./ldlex.l" -{ RTOKEN(MINUSEQ);} - YY_BREAK -case 22: -YY_RULE_SETUP -#line 208 "./ldlex.l" -{ RTOKEN(MULTEQ);} - YY_BREAK -case 23: -YY_RULE_SETUP -#line 209 "./ldlex.l" -{ RTOKEN(DIVEQ);} - YY_BREAK -case 24: -YY_RULE_SETUP -#line 210 "./ldlex.l" -{ RTOKEN(ANDEQ);} - YY_BREAK -case 25: -YY_RULE_SETUP -#line 211 "./ldlex.l" -{ RTOKEN(OREQ);} - YY_BREAK -case 26: -YY_RULE_SETUP -#line 212 "./ldlex.l" -{ RTOKEN(ANDAND);} - YY_BREAK -case 27: -YY_RULE_SETUP -#line 213 "./ldlex.l" -{ RTOKEN('>');} - YY_BREAK -case 28: -YY_RULE_SETUP -#line 214 "./ldlex.l" -{ RTOKEN(',');} - YY_BREAK -case 29: -YY_RULE_SETUP -#line 215 "./ldlex.l" -{ RTOKEN('&');} - YY_BREAK -case 30: -YY_RULE_SETUP -#line 216 "./ldlex.l" -{ RTOKEN('|');} - YY_BREAK -case 31: -YY_RULE_SETUP -#line 217 "./ldlex.l" -{ RTOKEN('~');} - YY_BREAK -case 32: -YY_RULE_SETUP -#line 218 "./ldlex.l" -{ RTOKEN('!');} - YY_BREAK -case 33: -YY_RULE_SETUP -#line 219 "./ldlex.l" -{ RTOKEN('?');} - YY_BREAK -case 34: -YY_RULE_SETUP -#line 220 "./ldlex.l" -{ RTOKEN('*');} - YY_BREAK -case 35: -YY_RULE_SETUP -#line 221 "./ldlex.l" -{ RTOKEN('+');} - YY_BREAK -case 36: -YY_RULE_SETUP -#line 222 "./ldlex.l" -{ RTOKEN('-');} - YY_BREAK -case 37: -YY_RULE_SETUP -#line 223 "./ldlex.l" -{ RTOKEN('/');} - YY_BREAK -case 38: -YY_RULE_SETUP -#line 224 "./ldlex.l" -{ RTOKEN('%');} - YY_BREAK -case 39: -YY_RULE_SETUP -#line 225 "./ldlex.l" -{ RTOKEN('<');} - YY_BREAK -case 40: -YY_RULE_SETUP -#line 226 "./ldlex.l" -{ RTOKEN('=');} - YY_BREAK -case 41: -YY_RULE_SETUP -#line 227 "./ldlex.l" -{ RTOKEN('}') ; } - YY_BREAK -case 42: -YY_RULE_SETUP -#line 228 "./ldlex.l" -{ RTOKEN('{'); } - YY_BREAK -case 43: -YY_RULE_SETUP -#line 229 "./ldlex.l" -{ RTOKEN(')');} - YY_BREAK -case 44: -YY_RULE_SETUP -#line 230 "./ldlex.l" -{ RTOKEN('(');} - YY_BREAK -case 45: -YY_RULE_SETUP -#line 231 "./ldlex.l" -{ RTOKEN(':'); } - YY_BREAK -case 46: -YY_RULE_SETUP -#line 232 "./ldlex.l" -{ RTOKEN(';');} - YY_BREAK -case 47: -YY_RULE_SETUP -#line 233 "./ldlex.l" -{ RTOKEN(MEMORY);} - YY_BREAK -case 48: -YY_RULE_SETUP -#line 234 "./ldlex.l" -{ RTOKEN(ORIGIN);} - YY_BREAK -case 49: -YY_RULE_SETUP -#line 235 "./ldlex.l" -{ RTOKEN(VERSION);} - YY_BREAK -case 50: -YY_RULE_SETUP -#line 236 "./ldlex.l" -{ RTOKEN(BLOCK);} - YY_BREAK -case 51: -YY_RULE_SETUP -#line 237 "./ldlex.l" -{ RTOKEN(BIND);} - YY_BREAK -case 52: -YY_RULE_SETUP -#line 238 "./ldlex.l" -{ RTOKEN(LENGTH);} - YY_BREAK -case 53: -YY_RULE_SETUP -#line 239 "./ldlex.l" -{ RTOKEN(ALIGN_K);} - YY_BREAK -case 54: -YY_RULE_SETUP -#line 240 "./ldlex.l" -{ RTOKEN(ADDR);} - YY_BREAK -case 55: -YY_RULE_SETUP -#line 241 "./ldlex.l" -{ RTOKEN(LOADADDR);} - YY_BREAK -case 56: -YY_RULE_SETUP -#line 242 "./ldlex.l" -{ RTOKEN(MAX); } - YY_BREAK -case 57: -YY_RULE_SETUP -#line 243 "./ldlex.l" -{ RTOKEN(MIN); } - YY_BREAK -case 58: -YY_RULE_SETUP -#line 244 "./ldlex.l" -{ RTOKEN(ENTRY);} - YY_BREAK -case 59: -YY_RULE_SETUP -#line 245 "./ldlex.l" -{ RTOKEN(NEXT);} - YY_BREAK -case 60: -YY_RULE_SETUP -#line 246 "./ldlex.l" -{ RTOKEN(SIZEOF_HEADERS);} - YY_BREAK -case 61: -YY_RULE_SETUP -#line 247 "./ldlex.l" -{ RTOKEN(SIZEOF_HEADERS);} - YY_BREAK -case 62: -YY_RULE_SETUP -#line 248 "./ldlex.l" -{ RTOKEN(MAP);} - YY_BREAK -case 63: -YY_RULE_SETUP -#line 249 "./ldlex.l" -{ RTOKEN(SIZEOF);} - YY_BREAK -case 64: -YY_RULE_SETUP -#line 250 "./ldlex.l" -{ RTOKEN(TARGET_K);} - YY_BREAK -case 65: -YY_RULE_SETUP -#line 251 "./ldlex.l" -{ RTOKEN(SEARCH_DIR);} - YY_BREAK -case 66: -YY_RULE_SETUP -#line 252 "./ldlex.l" -{ RTOKEN(OUTPUT);} - YY_BREAK -case 67: -YY_RULE_SETUP -#line 253 "./ldlex.l" -{ RTOKEN(INPUT);} - YY_BREAK -case 68: -YY_RULE_SETUP -#line 254 "./ldlex.l" -{ RTOKEN(GROUP);} - YY_BREAK -case 69: -YY_RULE_SETUP -#line 255 "./ldlex.l" -{ RTOKEN(DEFINED);} - YY_BREAK -case 70: -YY_RULE_SETUP -#line 256 "./ldlex.l" -{ RTOKEN(CREATE_OBJECT_SYMBOLS);} - YY_BREAK -case 71: -YY_RULE_SETUP -#line 257 "./ldlex.l" -{ RTOKEN( CONSTRUCTORS);} - YY_BREAK -case 72: -YY_RULE_SETUP -#line 258 "./ldlex.l" -{ RTOKEN(FORCE_COMMON_ALLOCATION);} - YY_BREAK -case 73: -YY_RULE_SETUP -#line 259 "./ldlex.l" -{ RTOKEN(SECTIONS);} - YY_BREAK -case 74: -YY_RULE_SETUP -#line 260 "./ldlex.l" -{ RTOKEN(FILL);} - YY_BREAK -case 75: -YY_RULE_SETUP -#line 261 "./ldlex.l" -{ RTOKEN(STARTUP);} - YY_BREAK -case 76: -YY_RULE_SETUP -#line 262 "./ldlex.l" -{ RTOKEN(OUTPUT_FORMAT);} - YY_BREAK -case 77: -YY_RULE_SETUP -#line 263 "./ldlex.l" -{ RTOKEN( OUTPUT_ARCH);} - YY_BREAK -case 78: -YY_RULE_SETUP -#line 264 "./ldlex.l" -{ RTOKEN(HLL);} - YY_BREAK -case 79: -YY_RULE_SETUP -#line 265 "./ldlex.l" -{ RTOKEN(SYSLIB);} - YY_BREAK -case 80: -YY_RULE_SETUP -#line 266 "./ldlex.l" -{ RTOKEN(FLOAT);} - YY_BREAK -case 81: -YY_RULE_SETUP -#line 267 "./ldlex.l" -{ RTOKEN( QUAD);} - YY_BREAK -case 82: -YY_RULE_SETUP -#line 268 "./ldlex.l" -{ RTOKEN( LONG);} - YY_BREAK -case 83: -YY_RULE_SETUP -#line 269 "./ldlex.l" -{ RTOKEN( SHORT);} - YY_BREAK -case 84: -YY_RULE_SETUP -#line 270 "./ldlex.l" -{ RTOKEN( BYTE);} - YY_BREAK -case 85: -YY_RULE_SETUP -#line 271 "./ldlex.l" -{ RTOKEN(NOFLOAT);} - YY_BREAK -case 86: -YY_RULE_SETUP -#line 272 "./ldlex.l" -{ RTOKEN(NOCROSSREFS);} - YY_BREAK -case 87: -YY_RULE_SETUP -#line 273 "./ldlex.l" -{ RTOKEN(OVERLAY); } - YY_BREAK -case 88: -YY_RULE_SETUP -#line 274 "./ldlex.l" -{ RTOKEN(NOLOAD);} - YY_BREAK -case 89: -YY_RULE_SETUP -#line 275 "./ldlex.l" -{ RTOKEN(DSECT);} - YY_BREAK -case 90: -YY_RULE_SETUP -#line 276 "./ldlex.l" -{ RTOKEN(COPY);} - YY_BREAK -case 91: -YY_RULE_SETUP -#line 277 "./ldlex.l" -{ RTOKEN(INFO);} - YY_BREAK -case 92: -YY_RULE_SETUP -#line 278 "./ldlex.l" -{ RTOKEN(OVERLAY);} - YY_BREAK -case 93: -YY_RULE_SETUP -#line 279 "./ldlex.l" -{ RTOKEN(ORIGIN);} - YY_BREAK -case 94: -YY_RULE_SETUP -#line 280 "./ldlex.l" -{ RTOKEN(ORIGIN);} - YY_BREAK -case 95: -YY_RULE_SETUP -#line 281 "./ldlex.l" -{ RTOKEN( LENGTH);} - YY_BREAK -case 96: -YY_RULE_SETUP -#line 282 "./ldlex.l" -{ RTOKEN( LENGTH);} - YY_BREAK -case 97: -YY_RULE_SETUP -#line 283 "./ldlex.l" -{ RTOKEN(INCLUDE);} - YY_BREAK -case 98: -YY_RULE_SETUP -#line 284 "./ldlex.l" -{ RTOKEN (PHDRS); } - YY_BREAK -case 99: -YY_RULE_SETUP -#line 285 "./ldlex.l" -{ RTOKEN(AT);} - YY_BREAK -case 100: -YY_RULE_SETUP -#line 286 "./ldlex.l" -{ RTOKEN(PROVIDE); } - YY_BREAK -case 101: -YY_RULE_SETUP -#line 287 "./ldlex.l" -{ ++ lineno; } - YY_BREAK -case 102: -YY_RULE_SETUP -#line 288 "./ldlex.l" -{ ++ lineno; RTOKEN(NEWLINE); } - YY_BREAK -case 103: -YY_RULE_SETUP -#line 289 "./ldlex.l" -{ ++ lineno; RTOKEN(NEWLINE); } - YY_BREAK -case 104: -YY_RULE_SETUP -#line 290 "./ldlex.l" -{ /* Mri comment line */ } - YY_BREAK -case 105: -YY_RULE_SETUP -#line 291 "./ldlex.l" -{ /* Mri comment line */ } - YY_BREAK -case 106: -YY_RULE_SETUP -#line 292 "./ldlex.l" -{ RTOKEN(ENDWORD); } - YY_BREAK -case 107: -YY_RULE_SETUP -#line 293 "./ldlex.l" -{ RTOKEN(ALIGNMOD);} - YY_BREAK -case 108: -YY_RULE_SETUP -#line 294 "./ldlex.l" -{ RTOKEN(ALIGN_K);} - YY_BREAK -case 109: -YY_RULE_SETUP -#line 295 "./ldlex.l" -{ RTOKEN(CHIP); } - YY_BREAK -case 110: -YY_RULE_SETUP -#line 296 "./ldlex.l" -{ RTOKEN(BASE); } - YY_BREAK -case 111: -YY_RULE_SETUP -#line 297 "./ldlex.l" -{ RTOKEN(ALIAS); } - YY_BREAK -case 112: -YY_RULE_SETUP -#line 298 "./ldlex.l" -{ RTOKEN(TRUNCATE); } - YY_BREAK -case 113: -YY_RULE_SETUP -#line 299 "./ldlex.l" -{ RTOKEN(LOAD); } - YY_BREAK -case 114: -YY_RULE_SETUP -#line 300 "./ldlex.l" -{ RTOKEN(PUBLIC); } - YY_BREAK -case 115: -YY_RULE_SETUP -#line 301 "./ldlex.l" -{ RTOKEN(ORDER); } - YY_BREAK -case 116: -YY_RULE_SETUP -#line 302 "./ldlex.l" -{ RTOKEN(NAMEWORD); } - YY_BREAK -case 117: -YY_RULE_SETUP -#line 303 "./ldlex.l" -{ RTOKEN(FORMAT); } - YY_BREAK -case 118: -YY_RULE_SETUP -#line 304 "./ldlex.l" -{ RTOKEN(CASE); } - YY_BREAK -case 119: -YY_RULE_SETUP -#line 305 "./ldlex.l" -{ RTOKEN(EXTERN); } - YY_BREAK -case 120: -YY_RULE_SETUP -#line 306 "./ldlex.l" -{ RTOKEN(START); } - YY_BREAK -case 121: -YY_RULE_SETUP -#line 307 "./ldlex.l" -{ RTOKEN(LIST); /* LIST and ignore to end of line */ } - YY_BREAK -case 122: -YY_RULE_SETUP -#line 308 "./ldlex.l" -{ RTOKEN(SECT); } - YY_BREAK -case 123: -YY_RULE_SETUP -#line 309 "./ldlex.l" -{ RTOKEN(ABSOLUTE); } - YY_BREAK -case 124: -YY_RULE_SETUP -#line 310 "./ldlex.l" -{ RTOKEN(ENDWORD); } - YY_BREAK -case 125: -YY_RULE_SETUP -#line 311 "./ldlex.l" -{ RTOKEN(ALIGNMOD);} - YY_BREAK -case 126: -YY_RULE_SETUP -#line 312 "./ldlex.l" -{ RTOKEN(ALIGN_K);} - YY_BREAK -case 127: -YY_RULE_SETUP -#line 313 "./ldlex.l" -{ RTOKEN(CHIP); } - YY_BREAK -case 128: -YY_RULE_SETUP -#line 314 "./ldlex.l" -{ RTOKEN(BASE); } - YY_BREAK -case 129: -YY_RULE_SETUP -#line 315 "./ldlex.l" -{ RTOKEN(ALIAS); } - YY_BREAK -case 130: -YY_RULE_SETUP -#line 316 "./ldlex.l" -{ RTOKEN(TRUNCATE); } - YY_BREAK -case 131: -YY_RULE_SETUP -#line 317 "./ldlex.l" -{ RTOKEN(LOAD); } - YY_BREAK -case 132: -YY_RULE_SETUP -#line 318 "./ldlex.l" -{ RTOKEN(PUBLIC); } - YY_BREAK -case 133: -YY_RULE_SETUP -#line 319 "./ldlex.l" -{ RTOKEN(ORDER); } - YY_BREAK -case 134: -YY_RULE_SETUP -#line 320 "./ldlex.l" -{ RTOKEN(NAMEWORD); } - YY_BREAK -case 135: -YY_RULE_SETUP -#line 321 "./ldlex.l" -{ RTOKEN(FORMAT); } - YY_BREAK -case 136: -YY_RULE_SETUP -#line 322 "./ldlex.l" -{ RTOKEN(CASE); } - YY_BREAK -case 137: -YY_RULE_SETUP -#line 323 "./ldlex.l" -{ RTOKEN(EXTERN); } - YY_BREAK -case 138: -YY_RULE_SETUP -#line 324 "./ldlex.l" -{ RTOKEN(START); } - YY_BREAK -case 139: -YY_RULE_SETUP -#line 325 "./ldlex.l" -{ RTOKEN(LIST); /* LIST and ignore to end of line */ } - YY_BREAK -case 140: -YY_RULE_SETUP -#line 326 "./ldlex.l" -{ RTOKEN(SECT); } - YY_BREAK -case 141: -YY_RULE_SETUP -#line 327 "./ldlex.l" -{ RTOKEN(ABSOLUTE); } - YY_BREAK -case 142: -YY_RULE_SETUP -#line 329 "./ldlex.l" -{ -/* Filename without commas, needed to parse mri stuff */ - yylval.name = buystring(yytext); - return NAME; - } - YY_BREAK -case 143: -YY_RULE_SETUP -#line 336 "./ldlex.l" -{ - yylval.name = buystring(yytext); - return NAME; - } - YY_BREAK -case 144: -YY_RULE_SETUP -#line 340 "./ldlex.l" -{ - yylval.name = buystring (yytext + 2); - return LNAME; - } - YY_BREAK -case 145: -YY_RULE_SETUP -#line 344 "./ldlex.l" -{ yylval.name = buystring(yytext); return NAME; } - YY_BREAK -case 146: -YY_RULE_SETUP -#line 346 "./ldlex.l" -{ - /* No matter the state, quotes - give what's inside */ - yylval.name = buystring(yytext+1); - yylval.name[yyleng-2] = 0; - return NAME; - } - YY_BREAK -case 147: -YY_RULE_SETUP -#line 353 "./ldlex.l" -{ lineno++;} - YY_BREAK -case 148: -YY_RULE_SETUP -#line 354 "./ldlex.l" -{ lineno++;} - YY_BREAK -case 149: -YY_RULE_SETUP -#line 355 "./ldlex.l" - - YY_BREAK -case 150: -YY_RULE_SETUP -#line 357 "./ldlex.l" -{ return *yytext; } - YY_BREAK -case 151: -YY_RULE_SETUP -#line 359 "./ldlex.l" -{ RTOKEN(GLOBAL); } - YY_BREAK -case 152: -YY_RULE_SETUP -#line 361 "./ldlex.l" -{ RTOKEN(LOCAL); } - YY_BREAK -case 153: -YY_RULE_SETUP -#line 363 "./ldlex.l" -{ yylval.name = buystring (yytext); - return VERS_IDENTIFIER; } - YY_BREAK -case 154: -YY_RULE_SETUP -#line 366 "./ldlex.l" -{ yylval.name = buystring (yytext); - return VERS_TAG; } - YY_BREAK -case 155: -YY_RULE_SETUP -#line 369 "./ldlex.l" -{ BEGIN(VERS_SCRIPT); return *yytext; } - YY_BREAK -case 156: -YY_RULE_SETUP -#line 371 "./ldlex.l" -{ BEGIN(VERS_NODE); return *yytext; } - YY_BREAK -case 157: -YY_RULE_SETUP -#line 372 "./ldlex.l" -{ BEGIN(VERS_SCRIPT); return *yytext; } - YY_BREAK -case 158: -YY_RULE_SETUP -#line 374 "./ldlex.l" -{ lineno++; } - YY_BREAK -case 159: -YY_RULE_SETUP -#line 376 "./ldlex.l" -{ /* Eat up comments */ } - YY_BREAK -case 160: -YY_RULE_SETUP -#line 378 "./ldlex.l" -{ /* Eat up whitespace */ } - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(SCRIPT): -case YY_STATE_EOF(EXPRESSION): -case YY_STATE_EOF(BOTH): -case YY_STATE_EOF(DEFSYMEXP): -case YY_STATE_EOF(MRI): -case YY_STATE_EOF(VERS_START): -case YY_STATE_EOF(VERS_SCRIPT): -case YY_STATE_EOF(VERS_NODE): -#line 380 "./ldlex.l" -{ - include_stack_ptr--; - - if (include_stack_ptr == 0) - { - yyterminate(); - } - else - { - yy_switch_to_buffer(include_stack[include_stack_ptr]); - - } - BEGIN(SCRIPT); - ldfile_input_filename = file_name_stack[include_stack_ptr - 1]; - lineno = lineno_stack[include_stack_ptr - 1]; - - return END; -} - YY_BREAK -case 161: -YY_RULE_SETUP -#line 399 "./ldlex.l" -lex_warn_invalid(" in script", yytext); - YY_BREAK -case 162: -YY_RULE_SETUP -#line 400 "./ldlex.l" -lex_warn_invalid(" in expression", yytext); - YY_BREAK -case 163: -YY_RULE_SETUP -#line 402 "./ldlex.l" -ECHO; - YY_BREAK -#line 2414 "lex.yy.c" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a singled characater, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 1007 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 1007 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 1006); - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifndef YY_NO_UNPUT -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } -#endif /* ifndef YY_NO_UNPUT */ - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - yytext_ptr = yy_c_buf_p; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - { - yy_c_buf_p = - yytext_ptr + YY_MORE_ADJ; - return EOF; - } - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - break; - - case EOB_ACT_LAST_MATCH: -#ifdef __cplusplus - YY_FATAL_ERROR( - "unexpected last match in yyinput()" ); -#else - YY_FATAL_ERROR( - "unexpected last match in input()" ); -#endif - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( ! b ) - return; - - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#if YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#if YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( yyconst char *str ) -#else -YY_BUFFER_STATE yy_scan_string( str ) -yyconst char *str; -#endif - { - int len; - for ( len = 0; str[len]; ++len ) - ; - - return yy_scan_bytes( str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -yyconst char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( yyconst char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n - YY_MORE_ADJ; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -yyconst char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) xmalloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#if YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 402 "./ldlex.l" - - - -/* Switch flex to reading script file NAME, open on FILE, - saving the current input info on the include stack. */ - -void -lex_push_file (file, name) - FILE *file; - const char *name; -{ - if (include_stack_ptr >= MAX_INCLUDE_DEPTH) - { - einfo("%F:includes nested too deeply\n"); - } - file_name_stack[include_stack_ptr] = name; - lineno_stack[include_stack_ptr] = 1; - include_stack[include_stack_ptr] = YY_CURRENT_BUFFER; - - include_stack_ptr++; - yyin = file; - yy_switch_to_buffer(yy_create_buffer(yyin, YY_BUF_SIZE)); - BEGIN (SCRIPT); -} - -/* Return a newly created flex input buffer containing STRING, - which is SIZE bytes long. */ - -static YY_BUFFER_STATE -yy_create_string_buffer (string, size) - CONST char *string; - size_t size; -{ - YY_BUFFER_STATE b; - - /* Calls to m-alloc get turned by sed into xm-alloc. */ - b = (YY_BUFFER_STATE) xmalloc (sizeof (struct yy_buffer_state)); - b->yy_input_file = 0; - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - we need to put in 2 end-of-buffer characters. */ - b->yy_ch_buf = (char *) xmalloc ((unsigned) (b->yy_buf_size + 3)); - - b->yy_ch_buf[0] = '\n'; - strcpy (b->yy_ch_buf+1, string); - b->yy_ch_buf[size+1] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[size+2] = YY_END_OF_BUFFER_CHAR; - b->yy_n_chars = size+1; - b->yy_buf_pos = &b->yy_ch_buf[1]; - - /* flex 2.4.7 changed the interface. FIXME: We should not be using - a flex internal interface in the first place! */ -#ifdef YY_BUFFER_NEW - b->yy_buffer_status = YY_BUFFER_NEW; -#else - b->yy_eof_status = EOF_NOT_SEEN; -#endif - - return b; -} - -/* Switch flex to reading from STRING, saving the current input info - on the include stack. */ - -void -lex_redirect (string) - CONST char *string; -{ - YY_BUFFER_STATE tmp; - - yy_init = 0; - if (include_stack_ptr >= MAX_INCLUDE_DEPTH) - { - einfo("%F: macros nested too deeply\n"); - } - file_name_stack[include_stack_ptr] = "redirect"; - lineno_stack[include_stack_ptr] = 0; - include_stack[include_stack_ptr] = YY_CURRENT_BUFFER; - include_stack_ptr++; - tmp = yy_create_string_buffer (string, strlen (string)); - yy_switch_to_buffer (tmp); - BEGIN (SCRIPT); -} - -/* Functions to switch to a different flex start condition, - saving the current start condition on `state_stack'. */ - -static int state_stack[MAX_INCLUDE_DEPTH * 2]; -static int *state_stack_p = state_stack; - -void -ldlex_script () -{ - *(state_stack_p)++ = yy_start; - BEGIN (SCRIPT); -} - -void -ldlex_mri_script () -{ - *(state_stack_p)++ = yy_start; - BEGIN (MRI); -} - -void -ldlex_version_script () -{ - *(state_stack_p)++ = yy_start; - BEGIN (VERS_START); -} - -void -ldlex_version_file () -{ - *(state_stack_p)++ = yy_start; - BEGIN (VERS_SCRIPT); -} - -void -ldlex_defsym () -{ - *(state_stack_p)++ = yy_start; - BEGIN (DEFSYMEXP); -} - -void -ldlex_expression () -{ - *(state_stack_p)++ = yy_start; - BEGIN (EXPRESSION); -} - -void -ldlex_both () -{ - *(state_stack_p)++ = yy_start; - BEGIN (BOTH); -} - -void -ldlex_popstate () -{ - yy_start = *(--state_stack_p); -} - - -/* Place up to MAX_SIZE characters in BUF and return in *RESULT - either the number of characters read, or 0 to indicate EOF. */ - -static void -yy_input (buf, result, max_size) - char *buf; - int *result; - int max_size; -{ - *result = 0; - if (yy_current_buffer->yy_input_file) - { - if (yyin) - { - *result = read (fileno (yyin), (char *) buf, max_size); - if (*result < 0) - einfo ("%F%P: read in flex scanner failed"); - } - } -} - -/* Eat the rest of a C-style comment. */ - -static void -comment () -{ - int c; - - while (1) - { - c = input(); - while (c != '*' && c != EOF) - { - if (c == '\n' || c == '\r') - lineno++; - c = input(); - } - - if (c == '*') - { - c = input(); - while (c == '*') - c = input(); - if (c == '/') - break; /* found the end */ - } - - if (c == '\n' || c == '\r') - lineno++; - - if (c == EOF) - { - einfo( "%F%P: EOF in comment\n"); - break; - } - } -} - -/* Warn the user about a garbage character WHAT in the input - in context WHERE. */ - -static void -lex_warn_invalid (where, what) - char *where, *what; -{ - char buf[5]; - - /* If we have found an input file whose format we do not recognize, - and we are therefore treating it as a linker script, and we find - an invalid character, then most likely this is a real object file - of some different format. Treat it as such. */ - if (ldfile_assumed_script) - { - bfd_set_error (bfd_error_file_not_recognized); - einfo ("%F%s: file not recognized: %E\n", ldfile_input_filename); - } - - if (! isprint ((unsigned char) *what)) - { - sprintf (buf, "\\%03o", (unsigned int) *what); - what = buf; - } - - einfo ("%P:%S: ignoring invalid character `%s'%s\n", what, where); -}