-
Notifications
You must be signed in to change notification settings - Fork 5
/
awkgram.c
8120 lines (7140 loc) · 227 KB
/
awkgram.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* A Bison parser, made by GNU Bison 2.6.2. */
/* Bison implementation for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2012 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* C LALR(1) parser skeleton written by Richard Stallman, by
simplifying the original so-called "semantic" parser. */
/* All symbols defined below should begin with yy or YY, to avoid
infringing on user name space. This should be done even for local
variables, as they might otherwise be expanded by user macros.
There are some unavoidable exceptions within include files to
define necessary library symbols; they are noted "INFRINGES ON
USER NAME SPACE" below. */
/* Identify Bison output. */
#define YYBISON 1
/* Bison version. */
#define YYBISON_VERSION "2.6.2"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
/* Pure parsers. */
#define YYPURE 0
/* Push parsers. */
#define YYPUSH 0
/* Pull parsers. */
#define YYPULL 1
/* Copy the first part of user declarations. */
/* Line 336 of yacc.c */
#line 26 "awkgram.y"
#ifdef GAWKDEBUG
#define YYDEBUG 12
#endif
#include "awk.h"
#if defined(__STDC__) && __STDC__ < 1 /* VMS weirdness, maybe elsewhere */
#define signed /**/
#endif
static void yyerror(const char *m, ...) ATTRIBUTE_PRINTF_1;
static void error_ln(int line, const char *m, ...) ATTRIBUTE_PRINTF_2;
static void lintwarn_ln(int line, const char *m, ...) ATTRIBUTE_PRINTF_2;
static void warning_ln(int line, const char *m, ...) ATTRIBUTE_PRINTF_2;
static char *get_src_buf(void);
static int yylex(void);
int yyparse(void);
static INSTRUCTION *snode(INSTRUCTION *subn, INSTRUCTION *op);
static char **check_params(char *fname, int pcount, INSTRUCTION *list);
static int install_function(char *fname, INSTRUCTION *fi, INSTRUCTION *plist);
static NODE *mk_rexp(INSTRUCTION *exp);
static void param_sanity(INSTRUCTION *arglist);
static int parms_shadow(INSTRUCTION *pc, int *shadow);
static int isnoeffect(OPCODE type);
static INSTRUCTION *make_assignable(INSTRUCTION *ip);
static void dumpintlstr(const char *str, size_t len);
static void dumpintlstr2(const char *str1, size_t len1, const char *str2, size_t len2);
static int include_source(INSTRUCTION *file);
static int load_library(INSTRUCTION *file);
static void next_sourcefile(void);
static char *tokexpand(void);
#define instruction(t) bcalloc(t, 1, 0)
static INSTRUCTION *mk_program(void);
static INSTRUCTION *append_rule(INSTRUCTION *pattern, INSTRUCTION *action);
static INSTRUCTION *mk_function(INSTRUCTION *fi, INSTRUCTION *def);
static INSTRUCTION *mk_condition(INSTRUCTION *cond, INSTRUCTION *ifp, INSTRUCTION *true_branch,
INSTRUCTION *elsep, INSTRUCTION *false_branch);
static INSTRUCTION *mk_expression_list(INSTRUCTION *list, INSTRUCTION *s1);
static INSTRUCTION *mk_for_loop(INSTRUCTION *forp, INSTRUCTION *init, INSTRUCTION *cond,
INSTRUCTION *incr, INSTRUCTION *body);
static void fix_break_continue(INSTRUCTION *list, INSTRUCTION *b_target, INSTRUCTION *c_target);
static INSTRUCTION *mk_binary(INSTRUCTION *s1, INSTRUCTION *s2, INSTRUCTION *op);
static INSTRUCTION *mk_boolean(INSTRUCTION *left, INSTRUCTION *right, INSTRUCTION *op);
static INSTRUCTION *mk_assignment(INSTRUCTION *lhs, INSTRUCTION *rhs, INSTRUCTION *op);
static INSTRUCTION *mk_getline(INSTRUCTION *op, INSTRUCTION *opt_var, INSTRUCTION *redir, int redirtype);
static NODE *make_regnode(int type, NODE *exp);
static int count_expressions(INSTRUCTION **list, bool isarg);
static INSTRUCTION *optimize_assignment(INSTRUCTION *exp);
static void add_lint(INSTRUCTION *list, LINTTYPE linttype);
enum defref { FUNC_DEFINE, FUNC_USE, FUNC_EXT };
static void func_use(const char *name, enum defref how);
static void check_funcs(void);
static ssize_t read_one_line(int fd, void *buffer, size_t count);
static int one_line_close(int fd);
static bool want_source = false;
static bool want_regexp; /* lexical scanning kludge */
static char *in_function; /* parsing kludge */
static int rule = 0;
const char *const ruletab[] = {
"?",
"BEGIN",
"Rule",
"END",
"BEGINFILE",
"ENDFILE",
};
static bool in_print = false; /* lexical scanning kludge for print */
static int in_parens = 0; /* lexical scanning kludge for print */
static int sub_counter = 0; /* array dimension counter for use in delete */
static char *lexptr = NULL; /* pointer to next char during parsing */
static char *lexend;
static char *lexptr_begin; /* keep track of where we were for error msgs */
static char *lexeme; /* beginning of lexeme for debugging */
static bool lexeof; /* seen EOF for current source? */
static char *thisline = NULL;
static int in_braces = 0; /* count braces for firstline, lastline in an 'action' */
static int lastline = 0;
static int firstline = 0;
static SRCFILE *sourcefile = NULL; /* current program source */
static int lasttok = 0;
static bool eof_warned = false; /* GLOBAL: want warning for each file */
static int break_allowed; /* kludge for break */
static int continue_allowed; /* kludge for continue */
#define END_FILE -1000
#define END_SRC -2000
#define YYDEBUG_LEXER_TEXT (lexeme)
static char *tokstart = NULL;
static char *tok = NULL;
static char *tokend;
static int errcount = 0;
extern char *source;
extern int sourceline;
extern SRCFILE *srcfiles;
extern INSTRUCTION *rule_list;
extern int max_args;
extern NODE **args_array;
static INSTRUCTION *rule_block[sizeof(ruletab)];
static INSTRUCTION *ip_rec;
static INSTRUCTION *ip_newfile;
static INSTRUCTION *ip_atexit = NULL;
static INSTRUCTION *ip_end;
static INSTRUCTION *ip_endfile;
static INSTRUCTION *ip_beginfile;
static inline INSTRUCTION *list_create(INSTRUCTION *x);
static inline INSTRUCTION *list_append(INSTRUCTION *l, INSTRUCTION *x);
static inline INSTRUCTION *list_prepend(INSTRUCTION *l, INSTRUCTION *x);
static inline INSTRUCTION *list_merge(INSTRUCTION *l1, INSTRUCTION *l2);
extern double fmod(double x, double y);
#define YYSTYPE INSTRUCTION *
/* Line 336 of yacc.c */
#line 195 "awkgram.c"
# ifndef YY_NULL
# if defined __cplusplus && 201103L <= __cplusplus
# define YY_NULL nullptr
# else
# define YY_NULL 0
# endif
# endif
/* Enabling verbose error messages. */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 0
#endif
/* In a future release of Bison, this section will be replaced
by #include "". */
#ifndef YY_
# define YY_
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int yydebug;
#endif
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
FUNC_CALL = 258,
NAME = 259,
REGEXP = 260,
FILENAME = 261,
YNUMBER = 262,
YSTRING = 263,
RELOP = 264,
IO_OUT = 265,
IO_IN = 266,
ASSIGNOP = 267,
ASSIGN = 268,
MATCHOP = 269,
CONCAT_OP = 270,
SUBSCRIPT = 271,
LEX_BEGIN = 272,
LEX_END = 273,
LEX_IF = 274,
LEX_ELSE = 275,
LEX_RETURN = 276,
LEX_DELETE = 277,
LEX_SWITCH = 278,
LEX_CASE = 279,
LEX_DEFAULT = 280,
LEX_WHILE = 281,
LEX_DO = 282,
LEX_FOR = 283,
LEX_BREAK = 284,
LEX_CONTINUE = 285,
LEX_PRINT = 286,
LEX_PRINTF = 287,
LEX_NEXT = 288,
LEX_EXIT = 289,
LEX_FUNCTION = 290,
LEX_BEGINFILE = 291,
LEX_ENDFILE = 292,
LEX_GETLINE = 293,
LEX_NEXTFILE = 294,
LEX_IN = 295,
LEX_AND = 296,
LEX_OR = 297,
INCREMENT = 298,
DECREMENT = 299,
LEX_BUILTIN = 300,
LEX_LENGTH = 301,
LEX_EOF = 302,
LEX_INCLUDE = 303,
LEX_EVAL = 304,
LEX_LOAD = 305,
NEWLINE = 306,
SLASH_BEFORE_EQUAL = 307,
UNARY = 308
};
#endif
/* Tokens. */
#define FUNC_CALL 258
#define NAME 259
#define REGEXP 260
#define FILENAME 261
#define YNUMBER 262
#define YSTRING 263
#define RELOP 264
#define IO_OUT 265
#define IO_IN 266
#define ASSIGNOP 267
#define ASSIGN 268
#define MATCHOP 269
#define CONCAT_OP 270
#define SUBSCRIPT 271
#define LEX_BEGIN 272
#define LEX_END 273
#define LEX_IF 274
#define LEX_ELSE 275
#define LEX_RETURN 276
#define LEX_DELETE 277
#define LEX_SWITCH 278
#define LEX_CASE 279
#define LEX_DEFAULT 280
#define LEX_WHILE 281
#define LEX_DO 282
#define LEX_FOR 283
#define LEX_BREAK 284
#define LEX_CONTINUE 285
#define LEX_PRINT 286
#define LEX_PRINTF 287
#define LEX_NEXT 288
#define LEX_EXIT 289
#define LEX_FUNCTION 290
#define LEX_BEGINFILE 291
#define LEX_ENDFILE 292
#define LEX_GETLINE 293
#define LEX_NEXTFILE 294
#define LEX_IN 295
#define LEX_AND 296
#define LEX_OR 297
#define INCREMENT 298
#define DECREMENT 299
#define LEX_BUILTIN 300
#define LEX_LENGTH 301
#define LEX_EOF 302
#define LEX_INCLUDE 303
#define LEX_EVAL 304
#define LEX_LOAD 305
#define NEWLINE 306
#define SLASH_BEFORE_EQUAL 307
#define UNARY 308
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef int YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE yylval;
#ifdef YYPARSE_PARAM
#if defined __STDC__ || defined __cplusplus
int yyparse (void *YYPARSE_PARAM);
#else
int yyparse ();
#endif
#else /* ! YYPARSE_PARAM */
#if defined __STDC__ || defined __cplusplus
int yyparse (void);
#else
int yyparse ();
#endif
#endif /* ! YYPARSE_PARAM */
#endif /* !YY_ */
/* Copy the second part of user declarations. */
/* Line 353 of yacc.c */
#line 367 "awkgram.c"
#ifdef short
# undef short
#endif
#ifdef YYTYPE_UINT8
typedef YYTYPE_UINT8 yytype_uint8;
#else
typedef unsigned char yytype_uint8;
#endif
#ifdef YYTYPE_INT8
typedef YYTYPE_INT8 yytype_int8;
#elif (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
typedef signed char yytype_int8;
#else
typedef short int yytype_int8;
#endif
#ifdef YYTYPE_UINT16
typedef YYTYPE_UINT16 yytype_uint16;
#else
typedef unsigned short int yytype_uint16;
#endif
#ifdef YYTYPE_INT16
typedef YYTYPE_INT16 yytype_int16;
#else
typedef short int yytype_int16;
#endif
#ifndef YYSIZE_T
# ifdef __SIZE_TYPE__
# define YYSIZE_T __SIZE_TYPE__
# elif defined size_t
# define YYSIZE_T size_t
# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
# define YYSIZE_T size_t
# else
# define YYSIZE_T unsigned int
# endif
#endif
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
#ifndef YY_
# if defined YYENABLE_NLS && YYENABLE_NLS
# if ENABLE_NLS
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
# define YY_(msgid) dgettext ("bison-runtime", msgid)
# endif
# endif
# ifndef YY_
# define YY_(msgid) msgid
# endif
#endif
/* Suppress unused-variable warnings by "using" E. */
#if ! defined lint || defined __GNUC__
# define YYUSE(e) ((void) (e))
#else
# define YYUSE(e) /* empty */
#endif
/* Identity function, used to suppress warnings about constant conditions. */
#ifndef lint
# define YYID(n) (n)
#else
#if (defined __STDC__ || defined __C99__FUNC__ || defined __cplusplus || defined _MSC_VER)
static int
YYID (int yyi)
#else
static int
YYID (yyi)
int yyi;
#endif
{
return yyi;
}
#endif
#if ! defined yyoverflow || YYERROR_VERBOSE
/* The parser invokes alloca or malloc; define the necessary symbols. */
# ifdef YYSTACK_USE_ALLOCA
# if YYSTACK_USE_ALLOCA
# ifdef __GNUC__
# define YYSTACK_ALLOC __builtin_alloca
# elif defined __BUILTIN_VA_ARG_INCR
# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
# elif defined _AIX
# define YYSTACK_ALLOC __alloca
# elif defined _MSC_VER
# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
# define alloca _alloca
# else
# define YYSTACK_ALLOC alloca
# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
/* Use EXIT_SUCCESS as a witness for stdlib.h. */
# ifndef EXIT_SUCCESS
# define EXIT_SUCCESS 0
# endif
# endif
# endif
# endif
# endif
# ifdef YYSTACK_ALLOC
/* Pacify GCC's `empty if-body' warning. */
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
# ifndef YYSTACK_ALLOC_MAXIMUM
/* The OS might guarantee only one guard page at the bottom of the stack,
and a page size can be as small as 4096 bytes. So we cannot safely
invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
to allow for a few compiler-allocated temporary stack slots. */
# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
# endif
# else
# define YYSTACK_ALLOC YYMALLOC
# define YYSTACK_FREE YYFREE
# ifndef YYSTACK_ALLOC_MAXIMUM
# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
# endif
# if (defined __cplusplus && ! defined EXIT_SUCCESS \
&& ! ((defined YYMALLOC || defined malloc) \
&& (defined YYFREE || defined free)))
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
# ifndef EXIT_SUCCESS
# define EXIT_SUCCESS 0
# endif
# endif
# ifndef YYMALLOC
# define YYMALLOC malloc
# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
# endif
# endif
# ifndef YYFREE
# define YYFREE free
# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
void free (void *); /* INFRINGES ON USER NAME SPACE */
# endif
# endif
# endif
#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
#if (! defined yyoverflow && (! defined __cplusplus || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
/* A type that is properly aligned for any stack member. */
union yyalloc
{
yytype_int16 yyss_alloc;
YYSTYPE yyvs_alloc;
};
/* The size of the maximum gap between one aligned stack and the next. */
# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
/* The size of an array large to enough to hold all stacks, each with
N elements. */
# define YYSTACK_BYTES(N) \
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
+ YYSTACK_GAP_MAXIMUM)
# define YYCOPY_NEEDED 1
/* Relocate STACK from its old location to the new one. The
local variables YYSIZE and YYSTACKSIZE give the old and new number of
elements in the stack, and YYPTR gives the new location of the
stack. Advance YYPTR to a properly aligned location for the next
stack. */
# define YYSTACK_RELOCATE(Stack_alloc, Stack) \
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (YYID (0))
#endif
#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
/* Copy COUNT objects from SRC to DST. The source and destination do
not overlap. */
# ifndef YYCOPY
# if defined __GNUC__ && 1 < __GNUC__
# define YYCOPY(Dst, Src, Count) \
__builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
# else
# define YYCOPY(Dst, Src, Count) \
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (YYID (0))
# endif
# endif
#endif /* !YYCOPY_NEEDED */
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 2
/* YYLAST -- Last index in YYTABLE. */
#define YYLAST 1155
/* YYNTOKENS -- Number of terminals. */
#define YYNTOKENS 75
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 65
/* YYNRULES -- Number of rules. */
#define YYNRULES 188
/* YYNRULES -- Number of states. */
#define YYNSTATES 335
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
#define YYMAXUTOK 308
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
static const yytype_uint8 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, 63, 2, 2, 66, 62, 2, 2,
67, 68, 60, 58, 55, 59, 2, 61, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 54, 74,
56, 2, 57, 53, 69, 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, 70, 2, 71, 65, 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, 72, 2, 73, 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, 2, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 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, 64
};
#if YYDEBUG
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
YYRHS. */
static const yytype_uint16 yyprhs[] =
{
0, 0, 3, 4, 7, 10, 13, 16, 19, 22,
25, 30, 35, 37, 40, 42, 44, 47, 49, 50,
52, 57, 59, 61, 63, 65, 71, 73, 75, 77,
80, 82, 84, 91, 92, 96, 98, 100, 101, 104,
107, 109, 112, 115, 119, 121, 131, 138, 147, 156,
169, 181, 183, 186, 189, 192, 195, 199, 200, 205,
208, 209, 214, 215, 220, 225, 227, 228, 230, 231,
234, 237, 243, 248, 250, 253, 256, 258, 260, 262,
264, 266, 270, 271, 272, 276, 283, 293, 295, 298,
299, 301, 302, 305, 306, 308, 310, 314, 316, 319,
323, 324, 326, 327, 329, 331, 335, 337, 340, 344,
348, 352, 356, 360, 364, 368, 372, 378, 380, 382,
384, 387, 389, 391, 393, 395, 397, 399, 402, 404,
408, 412, 416, 420, 424, 428, 432, 435, 438, 444,
449, 453, 457, 461, 465, 469, 473, 475, 478, 482,
487, 492, 494, 496, 498, 501, 504, 506, 508, 511,
514, 516, 519, 524, 525, 527, 528, 531, 533, 536,
538, 542, 544, 547, 550, 552, 555, 557, 561, 563,
565, 566, 569, 572, 574, 575, 577, 579, 581
};
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
76, 0, -1, -1, 76, 77, -1, 76, 105, -1,
76, 47, -1, 76, 1, -1, 80, 81, -1, 80,
89, -1, 84, 81, -1, 69, 48, 78, 89, -1,
69, 50, 79, 89, -1, 6, -1, 6, 1, -1,
1, -1, 6, -1, 6, 1, -1, 1, -1, -1,
113, -1, 113, 55, 106, 113, -1, 17, -1, 18,
-1, 36, -1, 37, -1, 133, 88, 134, 136, 106,
-1, 4, -1, 3, -1, 83, -1, 69, 49, -1,
45, -1, 46, -1, 35, 82, 67, 108, 135, 106,
-1, -1, 87, 86, 5, -1, 61, -1, 52, -1,
-1, 88, 90, -1, 88, 1, -1, 105, -1, 137,
106, -1, 137, 106, -1, 133, 88, 134, -1, 104,
-1, 23, 67, 113, 135, 106, 133, 97, 106, 134,
-1, 26, 67, 113, 135, 106, 90, -1, 27, 106,
90, 26, 67, 113, 135, 106, -1, 28, 67, 4,
40, 130, 135, 106, 90, -1, 28, 67, 96, 137,
106, 113, 137, 106, 96, 135, 106, 90, -1, 28,
67, 96, 137, 106, 137, 106, 96, 135, 106, 90,
-1, 91, -1, 29, 89, -1, 30, 89, -1, 33,
89, -1, 39, 89, -1, 34, 110, 89, -1, -1,
21, 92, 110, 89, -1, 93, 89, -1, -1, 100,
94, 101, 102, -1, -1, 22, 4, 95, 124, -1,
22, 67, 4, 68, -1, 113, -1, -1, 93, -1,
-1, 97, 98, -1, 97, 1, -1, 24, 99, 138,
106, 88, -1, 25, 138, 106, 88, -1, 7, -1,
59, 7, -1, 58, 7, -1, 8, -1, 85, -1,
31, -1, 32, -1, 111, -1, 67, 112, 135, -1,
-1, -1, 10, 103, 117, -1, 19, 67, 113, 135,
106, 90, -1, 19, 67, 113, 135, 106, 90, 20,
106, 90, -1, 51, -1, 105, 51, -1, -1, 105,
-1, -1, 56, 118, -1, -1, 109, -1, 4, -1,
109, 139, 4, -1, 1, -1, 109, 1, -1, 109,
139, 1, -1, -1, 113, -1, -1, 112, -1, 113,
-1, 112, 139, 113, -1, 1, -1, 112, 1, -1,
112, 1, 113, -1, 112, 139, 1, -1, 131, 114,
113, -1, 113, 41, 113, -1, 113, 42, 113, -1,
113, 14, 113, -1, 113, 40, 130, -1, 113, 116,
113, -1, 113, 53, 113, 54, 113, -1, 117, -1,
13, -1, 12, -1, 52, 13, -1, 9, -1, 56,
-1, 115, -1, 57, -1, 118, -1, 119, -1, 117,
118, -1, 120, -1, 118, 65, 118, -1, 118, 60,
118, -1, 118, 61, 118, -1, 118, 62, 118, -1,
118, 58, 118, -1, 118, 59, 118, -1, 38, 123,
107, -1, 131, 43, -1, 131, 44, -1, 67, 112,
135, 40, 130, -1, 117, 11, 38, 123, -1, 119,
65, 118, -1, 119, 60, 118, -1, 119, 61, 118,
-1, 119, 62, 118, -1, 119, 58, 118, -1, 119,
59, 118, -1, 85, -1, 63, 118, -1, 67, 113,
135, -1, 45, 67, 111, 135, -1, 46, 67, 111,
135, -1, 46, -1, 121, -1, 131, -1, 43, 131,
-1, 44, 131, -1, 7, -1, 8, -1, 59, 118,
-1, 58, 118, -1, 122, -1, 69, 122, -1, 3,
67, 111, 135, -1, -1, 131, -1, -1, 125, 16,
-1, 126, -1, 125, 126, -1, 127, -1, 70, 112,
71, -1, 127, -1, 128, 127, -1, 128, 16, -1,
4, -1, 4, 129, -1, 130, -1, 66, 120, 132,
-1, 43, -1, 44, -1, -1, 72, 106, -1, 73,
106, -1, 68, -1, -1, 137, -1, 74, -1, 54,
-1, 55, 106, -1
};
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const yytype_uint16 yyrline[] =
{
0, 192, 192, 194, 199, 200, 204, 216, 220, 231,
237, 242, 250, 258, 260, 265, 273, 275, 281, 282,
284, 310, 321, 332, 338, 347, 357, 359, 361, 367,
372, 373, 377, 396, 395, 429, 431, 436, 437, 450,
455, 456, 460, 462, 464, 471, 561, 603, 645, 758,
765, 772, 782, 791, 800, 809, 820, 836, 835, 859,
871, 871, 969, 969, 1002, 1032, 1038, 1039, 1045, 1046,
1053, 1058, 1070, 1084, 1086, 1094, 1099, 1101, 1109, 1111,
1120, 1121, 1129, 1134, 1134, 1145, 1149, 1157, 1158, 1161,
1163, 1168, 1169, 1178, 1179, 1184, 1189, 1195, 1197, 1199,
1206, 1207, 1213, 1214, 1219, 1221, 1226, 1228, 1230, 1232,
1238, 1245, 1247, 1249, 1265, 1275, 1282, 1284, 1289, 1291,
1293, 1301, 1303, 1308, 1310, 1315, 1317, 1319, 1369, 1371,
1373, 1375, 1377, 1379, 1381, 1383, 1406, 1411, 1416, 1441,
1447, 1449, 1451, 1453, 1455, 1457, 1462, 1466, 1498, 1500,
1506, 1512, 1525, 1526, 1527, 1532, 1537, 1541, 1545, 1560,
1573, 1578, 1614, 1632, 1633, 1639, 1640, 1645, 1647, 1654,
1671, 1688, 1690, 1697, 1702, 1710, 1720, 1732, 1741, 1745,
1749, 1753, 1757, 1761, 1764, 1766, 1770, 1774, 1778
};
#endif
#if YYDEBUG || YYERROR_VERBOSE || 0
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
First, the terminals, then, starting at YYNTOKENS, nonterminals. */
static const char *const yytname[] =
{
"$end", "error", "$undefined", "FUNC_CALL", "NAME", "REGEXP",
"FILENAME", "YNUMBER", "YSTRING", "RELOP", "IO_OUT", "IO_IN", "ASSIGNOP",
"ASSIGN", "MATCHOP", "CONCAT_OP", "SUBSCRIPT", "LEX_BEGIN", "LEX_END",
"LEX_IF", "LEX_ELSE", "LEX_RETURN", "LEX_DELETE", "LEX_SWITCH",
"LEX_CASE", "LEX_DEFAULT", "LEX_WHILE", "LEX_DO", "LEX_FOR", "LEX_BREAK",
"LEX_CONTINUE", "LEX_PRINT", "LEX_PRINTF", "LEX_NEXT", "LEX_EXIT",
"LEX_FUNCTION", "LEX_BEGINFILE", "LEX_ENDFILE", "LEX_GETLINE",
"LEX_NEXTFILE", "LEX_IN", "LEX_AND", "LEX_OR", "INCREMENT", "DECREMENT",
"LEX_BUILTIN", "LEX_LENGTH", "LEX_EOF", "LEX_INCLUDE", "LEX_EVAL",
"LEX_LOAD", "NEWLINE", "SLASH_BEFORE_EQUAL", "'?'", "':'", "','", "'<'",
"'>'", "'+'", "'-'", "'*'", "'/'", "'%'", "'!'", "UNARY", "'^'", "'$'",
"'('", "')'", "'@'", "'['", "']'", "'{'", "'}'", "';'", "$accept",
"program", "rule", "source", "library", "pattern", "action", "func_name",
"lex_builtin", "function_prologue", "regexp", "$@1", "a_slash",
"statements", "statement_term", "statement", "non_compound_stmt", "$@2",
"simple_stmt", "$@3", "$@4", "opt_simple_stmt", "case_statements",
"case_statement", "case_value", "print", "print_expression_list",
"output_redir", "$@5", "if_statement", "nls", "opt_nls", "input_redir",
"opt_param_list", "param_list", "opt_exp", "opt_expression_list",
"expression_list", "exp", "assign_operator", "relop_or_less", "a_relop",
"common_exp", "simp_exp", "simp_exp_nc", "non_post_simp_exp",
"func_call", "direct_func_call", "opt_variable", "delete_subscript_list",
"delete_subscript", "delete_exp_list", "bracketed_exp_list", "subscript",
"subscript_list", "simple_variable", "variable", "opt_incdec", "l_brace",
"r_brace", "r_paren", "opt_semi", "semi", "colon", "comma", YY_NULL
};
#endif
# ifdef YYPRINT
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
token YYLEX-NUM. */
static const yytype_uint16 yytoknum[] =
{
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
305, 306, 307, 63, 58, 44, 60, 62, 43, 45,
42, 47, 37, 33, 308, 94, 36, 40, 41, 64,
91, 93, 123, 125, 59
};
# endif
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const yytype_uint8 yyr1[] =
{
0, 75, 76, 76, 76, 76, 76, 77, 77, 77,
77, 77, 78, 78, 78, 79, 79, 79, 80, 80,
80, 80, 80, 80, 80, 81, 82, 82, 82, 82,
83, 83, 84, 86, 85, 87, 87, 88, 88, 88,
89, 89, 90, 90, 90, 90, 90, 90, 90, 90,
90, 90, 91, 91, 91, 91, 91, 92, 91, 91,
94, 93, 95, 93, 93, 93, 96, 96, 97, 97,
97, 98, 98, 99, 99, 99, 99, 99, 100, 100,
101, 101, 102, 103, 102, 104, 104, 105, 105, 106,
106, 107, 107, 108, 108, 109, 109, 109, 109, 109,
110, 110, 111, 111, 112, 112, 112, 112, 112, 112,
113, 113, 113, 113, 113, 113, 113, 113, 114, 114,
114, 115, 115, 116, 116, 117, 117, 117, 118, 118,
118, 118, 118, 118, 118, 118, 118, 118, 118, 119,
119, 119, 119, 119, 119, 119, 120, 120, 120, 120,
120, 120, 120, 120, 120, 120, 120, 120, 120, 120,
121, 121, 122, 123, 123, 124, 124, 125, 125, 126,
127, 128, 128, 129, 130, 130, 131, 131, 132, 132,
132, 133, 134, 135, 136, 136, 137, 138, 139
};
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
static const yytype_uint8 yyr2[] =
{
0, 2, 0, 2, 2, 2, 2, 2, 2, 2,
4, 4, 1, 2, 1, 1, 2, 1, 0, 1,
4, 1, 1, 1, 1, 5, 1, 1, 1, 2,
1, 1, 6, 0, 3, 1, 1, 0, 2, 2,
1, 2, 2, 3, 1, 9, 6, 8, 8, 12,
11, 1, 2, 2, 2, 2, 3, 0, 4, 2,
0, 4, 0, 4, 4, 1, 0, 1, 0, 2,
2, 5, 4, 1, 2, 2, 1, 1, 1, 1,
1, 3, 0, 0, 3, 6, 9, 1, 2, 0,
1, 0, 2, 0, 1, 1, 3, 1, 2, 3,
0, 1, 0, 1, 1, 3, 1, 2, 3, 3,
3, 3, 3, 3, 3, 3, 5, 1, 1, 1,
2, 1, 1, 1, 1, 1, 1, 2, 1, 3,
3, 3, 3, 3, 3, 3, 2, 2, 5, 4,
3, 3, 3, 3, 3, 3, 1, 2, 3, 4,
4, 1, 1, 1, 2, 2, 1, 1, 2, 2,
1, 2, 4, 0, 1, 0, 2, 1, 2, 1,
3, 1, 2, 2, 1, 2, 1, 3, 1, 1,
0, 2, 2, 1, 0, 1, 1, 1, 2
};
/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM.
Performed when YYTABLE doesn't specify something else to do. Zero
means the default is an error. */
static const yytype_uint8 yydefact[] =
{
2, 0, 1, 6, 0, 174, 156, 157, 21, 22,
0, 23, 24, 163, 0, 0, 0, 151, 5, 87,
36, 0, 0, 35, 0, 0, 0, 0, 3, 0,
0, 146, 33, 4, 19, 117, 125, 126, 128, 152,
160, 176, 153, 0, 0, 171, 0, 175, 27, 26,
30, 31, 0, 0, 28, 91, 164, 154, 155, 0,
0, 0, 159, 153, 158, 147, 0, 180, 153, 106,
0, 104, 0, 0, 161, 89, 186, 7, 8, 40,
37, 89, 9, 0, 88, 121, 0, 0, 0, 0,
0, 89, 122, 124, 123, 0, 0, 127, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
119, 118, 136, 137, 0, 0, 0, 0, 104, 0,
173, 172, 29, 0, 0, 135, 0, 0, 0, 178,
179, 177, 107, 89, 183, 0, 0, 148, 14, 0,
0, 17, 0, 0, 90, 181, 0, 41, 34, 113,
114, 111, 112, 0, 0, 115, 163, 133, 134, 130,
131, 132, 129, 144, 145, 141, 142, 143, 140, 120,
110, 162, 170, 97, 95, 0, 0, 92, 149, 150,
108, 188, 0, 109, 105, 13, 10, 16, 11, 39,
0, 57, 0, 0, 0, 89, 0, 0, 0, 78,
79, 0, 100, 0, 89, 38, 51, 0, 60, 44,
65, 37, 184, 89, 0, 20, 139, 89, 98, 0,
138, 0, 100, 62, 0, 0, 0, 0, 66, 52,
53, 54, 0, 101, 55, 182, 59, 0, 0, 89,
185, 42, 116, 32, 99, 96, 0, 0, 165, 0,
0, 0, 0, 174, 67, 0, 56, 0, 82, 80,
43, 25, 89, 58, 63, 0, 167, 169, 64, 89,
89, 0, 0, 89, 0, 83, 61, 0, 166, 168,
0, 0, 0, 0, 0, 81, 0, 85, 68, 46,
0, 89, 0, 89, 84, 89, 0, 89, 0, 89,
66, 0, 70, 0, 0, 69, 0, 47, 48, 66,
0, 86, 73, 76, 0, 0, 77, 0, 187, 89,
45, 0, 89, 75, 74, 89, 37, 89, 0, 37,
0, 0, 50, 0, 49
};
/* YYDEFGOTO[NTERM-NUM]. */
static const yytype_int16 yydefgoto[] =
{
-1, 1, 28, 140, 143, 29, 77, 53, 54, 30,
31, 83, 32, 146, 78, 205, 206, 222, 207, 237,
248, 255, 296, 305, 317, 208, 258, 276, 286, 209,
144, 145, 125, 175, 176, 232, 116, 117, 210, 115,
94, 95, 35, 36, 37, 38, 39, 40, 55, 264,
265, 266, 45, 46, 47, 41, 42, 131, 211, 212,
137, 239, 213, 319, 136
};
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
#define YYPACT_NINF -273
static const yytype_int16 yypact[] =
{
-273, 376, -273, -273, -27, -21, -273, -273, -273, -273,
157, -273, -273, 11, 11, 11, -5, -3, -273, -273,
-273, 1019, 1019, -273, 1019, 1065, 821, 116, -273, -20,
1, -273, -273, 35, 758, 992, 252, 296, -273, -273,
-273, -273, 233, 789, 821, -273, 2, -273, -273, -273,
-273, -273, 63, 54, -273, 69, -273, -273, -273, 789,
789, 127, 87, 115, 87, 87, 1019, 131, -273, -273,
55, 295, 40, 47, -273, 83, -273, -273, -273, 35,
-273, 83, -273, 151, -273, -273, 1019, 132, 1019, 1019,
1019, 83, -273, -273, -273, 1019, 124, 252, 1019, 1019,
1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019,
-273, -273, -273, -273, 152, 1019, 100, 16, 1034, 37,
-273, -273, -273, 43, 1019, -273, 100, 100, 295, -273,
-273, -273, 1019, 83, -273, 137, 867, -273, -273, 75,
-19, -273, 77, -19, 35, -273, 596, -273, -273, 123,
-273, 141, 175, 1098, 1019, 161, 11, -26, -26, 87,
87, 87, 87, -26, -26, 87, 87, 87, 87, -273,
1034, -273, -273, -273, -273, 100, 65, 252, -273, -273,
1034, -273, 132, -273, 1034, -273, -273, -273, -273, -273,
104, -273, 26, 118, 119, 83, 121, -19, -19, -273,
-273, -19, 1019, -19, 83, -273, -273, -19, -273, -273,
1034, -273, 117, 83, 1019, 1034, -273, 83, -273, 112,
-273, 1019, 1019, -273, 188, 1019, 1019, 710, 900, -273,
-273, -273, -19, 1034, -273, -273, -273, 642, 596, 83,
-273, -273, 1034, -273, -273, -273, 295, -19, -21, 126,
295, 295, 169, -13, -273, 117, -273, 821, 186, -273,
-273, -273, 83, -273, -273, 13, -273, -273, -273, 83,
83, 139, 132, 83, 55, -273, -273, 710, -273, -273,
1, 710, 1019, 100, 743, 137, 1019, 192, -273, -273,
295, 83, 286, 83, 992, 83, 44, 83, 710, 83,
946, 710, -273, 247, 154, -273, 156, -273, -273, 946,
100, -273, -273, -273, 226, 228, -273, 154, -273, 83,
-273, 100, 83, -273, -273, 83, -273, 83, 710, -273,
448, 710, -273, 522, -273
};
/* YYPGOTO[NTERM-NUM]. */
static const yytype_int16 yypgoto[] =
{
-273, -273, -273, -273, -273, -273, 208, -273, -273, -273,
-64, -273, -273, -202, 71, -58, -273, -273, -218, -273,
-273, -272, -273, -273, -273, -273, -273, -273, -273, -273,
50, 76, -273, -273, -273, 19, -54, -23, -1, -273,
-273, -273, -44, 39, -273, 224, -273, -11, 94, -273,
-273, -7, -38, -273, -273, -73, -2, -273, -28, -231,
-46, -273, -25, -57, 85
};
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
positive, shift that token. If negative, reduce the rule which
number is the opposite. If YYTABLE_NINF, syntax error. */
#define YYTABLE_NINF -104
static const yytype_int16 yytable[] =
{
34, 80, 80, 70, 81, 126, 127, 260, 121, 238,
254, 56, 57, 58, 150, 5, 74, 132, 120, 63,
63, 119, 63, 68, 135, 71, -103, 272, 310, 278,
223, 19, 19, 63, 100, 101, 102, 321, 132, 103,
43, 138, 118, 118, 173, 302, 139, 174, 141, 44,
74, 33, 75, 142, 76, 76, 132, 44, 118, 118,
62, 64, 59, 65, 60, 128, 218, -103, 303, 304,
171, 133, 44, 75, 97, 320, 185, 25, 187, 79,
178, 179, 254, 44, -103, 149, 84, 151, 152, 153,
-103, 254, 133, 224, 155, 19, 63, 63, 63, 63,
63, 63, 63, 63, 63, 63, 63, 63, 172, 220,
133, -93, 122, 244, 170, 81, 245, -89, 81, 4,
133, 123, 63, 134, 330, 124, -12, 333, -15, 217,
4, 180, 85, -94, 19, 184, 5, 157, 158, 159,
160, 161, 162, 163, 164, 165, 166, 167, 168, -12,
85, -15, 103, 215, 56, 86, 148, 147, 112, 113,
48, 49, 156, 177, 72, 169, 73, 154, 134, 252,
-104, 221, 81, 81, 129, 130, 81, 182, 81, 92,
93, 87, 81, 259, 85, 225, 226, 240, 228, 86,
79, 76, 249, 79, 268, 271, 275, 92, 93, 283,
262, 233, 50, 51, 269, 270, 282, 81, 318, 181,
267, 186, 295, 242, 188, 87, 88, -104, -104, 287,
246, 233, 81, 289, 250, 251, 52, 267, 285, 204,
273, 92, 93, 323, 274, 324, 118, 291, 82, 316,
308, 247, 294, 311, 297, 110, 111, 79, 79, 67,
216, 79, 288, 79, 312, 313, 71, 79, 279, 293,
325, 219, 0, 0, 322, 0, 0, 299, 229, 230,
332, 227, 231, 334, 234, 327, 112, 113, 236, 0,
235, 290, 79, 292, 63, 114, 0, 0, 0, 241,
0, 0, 63, 243, 0, 85, 0, 79, 0, 20,
86, 0, 0, 256, 85, 314, 315, 0, 23, 86,
98, 99, 100, 101, 102, 261, 0, 103, 263, 0,
0, 0, 0, 0, 0, 0, 87, 88, 89, 0,
0, 0, 0, 97, 0, 87, 88, 89, 277, 90,
0, 0, 92, 93, 0, 280, 281, 0, 90, 284,
0, 92, 93, 0, 104, 105, 106, 107, 108, 0,
76, 109, 0, 134, 0, 0, 0, 298, 0, 300,
0, 301, 306, 307, 0, 309, 2, 3, 0, 4,
5, 0, 0, 6, 7, 0, 0, 0, 0, 0,
0, 0, 0, 8, 9, 326, 0, 0, 328, 0,