Repository navigation
Expand file tree
/
Copy pathy_tab.i
More file actions
1922 lines (1366 loc) · 51 KB
/
Copy pathy_tab.i
File metadata and controls
1922 lines (1366 loc) · 51 KB
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
35
10000
5
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
static char yysccsid[] = "@(#)yaccpar 1.7 (Berkeley) 09/09/90";
#line 2 "parser.y"
#pragma info( none )
#pragma info( none )
#pragma info( restore )
typedef unsigned int size_t;
char * _Builtin __strcat( char *, const char * );
char * _Builtin __strchr( const char *, int );
int _Builtin __strcmp( const char *, const char * );
char * _Builtin __strcpy( char*, const char * );
size_t _Builtin __strlen( const char * );
char * _Builtin __strncat( char *, const char *, size_t );
int _Builtin __strncmp( const char *, const char *, size_t );
char * _Builtin __strncpy( char *, const char *, size_t );
char * _Builtin __strrchr( const char *, int );
int _Import _Optlink strcoll( const char *, const char * );
size_t _Import _Optlink strcspn( const char *, const char * );
char * _Import _Optlink strerror( int );
char * _Import _Optlink strpbrk( const char *, const char * );
size_t _Import _Optlink strspn( const char *, const char * );
char * _Import _Optlink strstr( const char *, const char * );
char * _Import _Optlink strtok( char*, const char * );
size_t _Import _Optlink strxfrm( char *, const char *, size_t );
char * _Import _Optlink strcat( char *, const char * );
char * _Import _Optlink strchr( const char *, int );
int _Import _Optlink strcmp( const char *, const char * );
char * _Import _Optlink strcpy( char *, const char * );
size_t _Import _Optlink strlen( const char * );
char * _Import _Optlink strncat( char *, const char *, size_t );
int _Import _Optlink strncmp( const char *, const char *, size_t );
char * _Import _Optlink strncpy( char *, const char *, size_t );
char * _Import _Optlink strrchr( const char *, int );
#pragma info( none )
#pragma info( restore )
void * _Builtin __memcpy( void *, const void *, size_t );
void * _Builtin __memchr( const void *, int, size_t );
int _Builtin __memcmp( const void *, const void *, size_t );
void * _Builtin __memset( void *, int, size_t );
void * _Builtin __memmove( void *, const void *, size_t );
void * _Import _Optlink memcpy( void *, const void *, size_t );
void * _Import _Optlink memchr( const void *, int, size_t );
int _Import _Optlink memcmp( const void *, const void *, size_t );
void * _Import _Optlink memset( void *, int, size_t );
void * _Import _Optlink memmove( void *, const void *, size_t );
#pragma info( none )
#pragma info( restore )
void * _Import _Optlink memccpy( void *, void *, int, unsigned int );
int _Import _Optlink memicmp( void *, void *, unsigned int );
char * _Import _Optlink strdup( const char * );
int _Import _Optlink stricmp( const char *, const char * );
char * _Import _Optlink strlwr( char * );
int _Import _Optlink strnicmp( const char *, const char *, size_t );
char * _Import _Optlink strupr( char * );
int _Import _Optlink strcmpi( const char *, const char * );
char * _Import _Optlink strrev( char * );
char * _Import _Optlink strset( char *, int );
char * _Import _Optlink strnset( char *, int, size_t );
char * _Import _Optlink _strerror( char * );
size_t _Import _Optlink _fstrcspn( const char *, const char * );
char * _Import _Optlink _fstrdup( const char * );
char * _Import _Optlink _nstrdup( const char * );
int _Import _Optlink _fstricmp( const char *, const char * );
char * _Import _Optlink _fstrlwr( char * );
int _Import _Optlink _fstrnicmp( const char *, const char *, size_t );
char * _Import _Optlink _fstrnset( char *, int, size_t );
char * _Import _Optlink _fstrpbrk( const char *, const char * );
char * _Import _Optlink _fstrrev( char * );
char * _Import _Optlink _fstrset( char *, int );
size_t _Import _Optlink _fstrspn( const char *, const char * );
char * _Import _Optlink _fstrstr( const char *, const char * );
char * _Import _Optlink _fstrtok( char*, const char * );
char * _Import _Optlink _fstrupr( char * );
#pragma map( _fstrcspn , "strcspn" )
#pragma map( _fstrdup , "strdup" )
#pragma map( _nstrdup , "strdup" )
#pragma map( _fstricmp , "stricmp" )
#pragma map( _fstrlwr , "strlwr" )
#pragma map( _f
10000
strnicmp, "strnicmp" )
#pragma map( _fstrnset , "strnset" )
#pragma map( _fstrpbrk , "strpbrk" )
#pragma map( _fstrrev , "strrev" )
#pragma map( _fstrset , "strset" )
#pragma map( _fstrspn , "strspn" )
#pragma map( _fstrstr , "strstr" )
#pragma map( _fstrtok , "strtok" )
#pragma map( _fstrupr , "strupr" )
#pragma info( none )
#pragma info( restore )
#pragma info( restore )
#pragma info( none )
#pragma info( none )
#pragma info( restore )
int _Import _Optlink _access( const char *, int );
int _Import _Optlink _chmod( const char *, int );
int _Import _Optlink _chsize( int, long );
int _Import _Optlink _close( int );
int _Import _Optlink _creat( const char *, int );
int _Import _Optlink _dup( int );
int _Import _Optlink _dup2( int, int );
int _Import _Optlink __eof( int );
long _Import _Optlink _filelength( int );
int _Import _Optlink _isatty( int );
long _Import _Optlink _lseek( int, long, int );
int _Import _Optlink _open( const char *, int, ... );
int _Import _Optlink _read( int, void *, unsigned int );
int _Import _Optlink remove( const char * );
int _Import _Optlink rename( const char *, const char * );
int _Import _Optlink _sopen( const char *, int, int, ... );
long _Import _Optlink _tell( int );
int _Import _Optlink _umask( int );
int _Import _Optlink _unlink( const char * );
int _Import _Optlink _write( int, const void *, unsigned int );
int _Import _Optlink _setmode(int handle, int mode);
int _Import _Optlink access( const char *, int );
int _Import _Optlink chmod( const char *, int );
int _Import _Optlink chsize( int, long );
int _Import _Optlink close( int );
int _Import _Optlink creat( const char *, int );
int _Import _Optlink dup( int );
int _Import _Optlink dup2( int, int );
int _Import _Optlink eof( int );
long _Import _Optlink filelength( int );
int _Import _Optlink isatty( int );
long _Import _Optlink lseek( int, long, int );
int _Import _Optlink open( const char *, int, ... );
int _Import _Optlink read( int, void *, unsigned int );
int _Import _Optlink sopen( const char *, int, int, ... );
long _Import _Optlink tell( int );
int _Import _Optlink umask( int );
int _Import _Optlink unlink( const char * );
int _Import _Optlink write( int, const void *, unsigned int );
int _Import _Optlink setmode(int handle, int mode);
#pragma map( access , "_access" )
#pragma map( chmod , "_chmod" )
#pragma map( chsize , "_chsize" )
#pragma map( close , "_close" )
#pragma map( creat , "_creat" )
#pragma map( dup , "_dup" )
#pragma map( dup2 , "_dup2" )
#pragma map( eof , "__eof" )
#pragma map( filelength, "_filelength" )
#pragma map( isatty , "_isatty" )
#pragma map( lseek , "_lseek" )
#pragma map( open , "_open" )
#pragma map( read , "_read" )
#pragma map( sopen , "_sopen" )
#pragma map( tell , "_tell" )
#pragma map( umask , "_umask" )
#pragma map( unlink , "_unlink" )
#pragma map( write , "_write" )
#pragma map( setmode , "_setmode" )
#pragma info( none )
#pragma info( restore )
#pragma info( restore )
#pragma info( none )
#pragma info( none )
#pragma info( restore )
extern const double _infinity;
double _Builtin __fabs( double );
double _Import _Optlink fabs( double );
#pragma info( none )
#pragma info( restore )
double _Import _Optlink atan2( double, double );
double _Import _Optlink ceil( double );
double _Import _Optlink cosh( double );
double _Import _Optlink exp( double );
double _Import _Optlink floor( double );
double _Import _Optlink fmod( double, double );
double _Import _Optlink frexp( double, int * );
double _Import _Optlink ldexp( double, int );
double _Import _Optlink log( double );
double _Import _Optlink log10( double );
double _Import _Optlink modf( double, double * );
double _Import _Optlink pow( double, double );
double _Import _Optlink sinh( double );
double _Import _Optlink tanh( double );
double _Import _Optlink asin( double );
double _Import _Optlink acos( double );
double _Import _Optlink atan( double );
double _Import _Optlink sin( double );
double _Import _Optlink cos( double );
double _Import _Optlink tan( double );
double _Import _Optlink sqrt( double );
double _Import _Optlink _erf( double );
double _Import _Optlink _erfc( double );
double _Import _Optlink _gamma( double );
double _Import _Optlink _hypot( double, double );
double _Import _Optlink _j0( double );
double _Import _Optlink _j1( double );
double _Import _Optlink _jn( int, double );
double _Import _Optlink _y0( double );
double _Import _Optlink _y1( double );
double _Import _Optlink _yn( int, double );
double _Import _Optlink erf( double );
double _Import _Optlink erfc( double );
double _Import _Optlink gamma( double );
double _Import _Optlink hypot( double, double );
double _Import _Optlink j0( double );
double _Import _Optlink j1( double );
double _Import _Optlink jn( int, double );
double _Import _Optlink y0( double );
double _Import _Optlink y1( double );
double _Import _Optlink yn( int, double );
#pragma map( erf, "_erf" )
#pragma map( erfc, "_erfc" )
#pragma map( gamma, "_gamma" )
#pragma map( hypot, "_hypot" )
#pragma map( j0, "_j0" )
#pragma map( j1, "_j1" )
#pragma map( jn, "_jn" )
#pragma map( y0, "_y0" )
#pragma map( y1, "_y1" )
#pragma map( yn, "_yn" )
extern const long double _LHUGE_VAL;
struct complex
{
double x,y;
};
double _Import _Optlink _cabs( struct complex );
#pragma info( none )
#pragma info( restore )
struct exception
{
int type;
char *name;
double arg1;
double arg2;
double retval;
};
int _matherr( struct exception * );
int matherr( struct exception * );
#pragma map( matherr, "_matherr" )
long double _Optlink _atold( const char * );
#pragma info( none )
#pragma info( restore )
#pragma info( restore )
#pragma info( none )
#pragma info( none )
#pragma info( restore )
typedef unsigned short wchar_t;
typedef struct _div_t
{
int quot;
int rem;
} div_t;
typedef struct _ldiv_t
{
long int quot;
long int rem;
} ldiv_t;
typedef unsigned long _System _EH_RTN(void *,void *,void *,void *);
extern int _Import _Optlink _eh_del(_EH_RTN *);
extern int _Import _Optlink _eh_add(_EH_RTN *);
extern int _Import _mb_cur_max;
int _Builtin __abs( int );
long int _Builtin __labs( long int );
double _Import _Optlink atof( const char * );
int _Import _Optlink atoi( const char * );
long int _Import _Optlink atol( const char * );
double _Import _Optlink strtod( const char *, char ** );
long int _Import _Optlink strtol( const char *, char **, int );
unsigned long int _Import _Optlink strtoul( const char *, char **, int );
int _Import _Optlink rand( void );
void _Import _Optlink srand( unsigned int );
void * (_Import _Optlink calloc)( size_t, size_t );
void (_Import _Optlink free)( void * );
void * (_Import _Optlink malloc)( size_t );
void * (_Import _Optlink realloc)( void *, size_t );
void _Import _Optlink abort( void );
int _Import _Optlink atexit( void ( * )( void ) );
void _Import _Optlink exit( int );
char * _Import _Optlink getenv( const char * );
int _Import _Optlink system( const char * );
void * _Import _Optlink bsearch( const void *, const void *, size_t, size_t,
int ( * _Optlink __compare )( const void *, const void * ) );
void _Import _Optlink qsort( void *, size_t, size_t,
int ( * _Optlink __compare )( const void *, const void * ) );
div_t _Import _Optlink div( int, int );
ldiv_t _Import _Optlink ldiv( long int, long int );
int _Import _Optlink mblen( const char *, size_t );
int _Import _Optlink mbtowc( wchar_t *, const char *, size_t );
int _Import _Optlink wctomb( char *, wchar_t );
size_t _Import _Optlink mbstowcs( wchar_t *, const char *, size_t );
size_t _Import _Optlink wcstombs( char *, const wchar_t *, size_t );
int _Import _Optlink abs ( int );
long int _Import _Optlink labs( long int );
#pragma info( none )
#pragma info( restore )
void * _Builtin __alloca( size_t );
#pragma info( none )
#pragma info( restore )
unsigned char _Builtin __parmdwords( void );
long double _Import _Optlink _atold( const char * );
char * _Import _Optlink ecvt( double, int, int *, int * );
char * _Import _Optlink _ecvt( double, int, int *, int * );
char * _Import _Optlink fcvt( double, int, int *, int * );
char * _Import _Optlink _fcvt( double, int, int *, int * );
int _Import _Optlink _freemod( unsigned long );
char * _Import _Optlink _fullpath(char *, char *, size_t);
char * _Import _Optlink gcvt( double, int, char * );
char * _Import _Optlink _gcvt( double, int, char * );
int (_Import _Optlink _heapmin)( void );
char * _Import _Optlink itoa( int, char *, int );
char * _Import _Optlink _itoa( int, char *, int );
int _Import _Optlink _loadmod( char *, unsigned long * );
char * _Import _Optlink ltoa( long, char *, int );
char * _Import _Optlink _ltoa( long, char *, int );
size_t _Import _Optlink _msize(void *);
int _Import _Optlink putenv( const char * );
int _Import _Optlink _putenv( const char * );
long double _Import _Optlink strtold( const char *, char ** );
long double _Import _Optlink _strtold( const char *, char ** );
char * _Import _Optlink ultoa( unsigned long, char *, int );
char * _Import _Optlink _ultoa( unsigned long, char *, int );
#pragma map( ecvt , "_ecvt" )
#pragma map( fcvt , "_fcvt" )
#pragma map( gcvt , "_gcvt" )
#pragma map( itoa , "_itoa" )
#pragma map( ltoa , "_ltoa" )
#pragma map( ultoa , "_ultoa" )
#pragma map( putenv , "_putenv" )
#pragma map( _strtold, "strtold" )
int _Import _Optlink _beginthread( void ( * _Optlink thread )( void * ), void *, unsigned, void * );
void _Import _Optlink _endthread( void );
void ** _Import _Optlink _threadstore( void );
#pragma map( atof , "_atofieee" )
#pragma map( strtod, "_strtodieee" )
void _Builtin __enable( void );
void _Builtin __disable( void );
int * _Import _Optlink _errno( void );
#pragma info( none )
#pragma info( restore )
int * _Import _Optlink __doserrno(void);
#pragma info( none )
#pragma info( restore )
extern char ** _Import _environ;
extern unsigned char _Import _osmajor;
extern unsigned char _Import _osminor;
extern unsigned char _Import _osmode;
typedef int ( __onexit_t )( void );
typedef __onexit_t * onexit_t;
void _Import _Optlink _exit( int );
onexit_t _Import _Optlink onexit( onexit_t );
onexit_t _Import _Optlink _onexit( onexit_t );
unsigned long _Builtin __lrotl(unsigned long, int);
unsigned long _Builtin __lrotr(unsigned long, int);
unsigned short _Builtin __srotl(unsigned short, int);
unsigned short _Builtin __srotr(unsigned short, int);
unsigned char _Builtin __crotl(unsigned char, int);
unsigned char _Builtin __crotr(unsigned char, int);
void _Import _Optlink _makepath( char *, char *, char *, char *, char * );
void _Import _Optlink _splitpath( char *, char *, char *, char *, char * );
void _Import _Optlink _searchenv( char *, char *, char *);
void _Import _Optlink swab( char *, char *, int );
void _Import _Optlink _swab( char *, char *, int );
#pragma map( onexit , "_onexit" )
#pragma map( swab , "_swab" )
int _Import _Optlink rpmatch(const char *);
int _Import _Optlink csid(const char *);
int _Import _Optlink wcsid(const wchar_t);
#pragma map( rpmatch, "_rpmatch" )
#pragma map( csid , "_csid" )
#pragma map( wcsid , "_wcsid" )
#pragma info( none )
#pragma info( restore )
#pragma info( restore )
char *proio_cons();
char * wxmake_integer();
char * wxmake_word();
char * wxmake_string();
char * wxmake_real();
char * wxmake_exp();
char * wxmake_exp2();
void add_expr();
void process_command();
void syntax_error();
int PROIO_yylex(void);
int PROIO_yylook(void);
int PROIO_yywrap(void);
int PROIO_yyback(int *, int);
void PROIO_yyoutput(int);
#line 36 "parser.y"
typedef union {
char *s;
} YYSTYPE;
#line 44 "y_tab.c"
short PROIO_yylhs[] = { -1,
0, 0, 1, 1, 1, 2, 2, 2, 3, 3,
3, 4, 4, 5, 5, 5, 5, 5, 5, 5,
};
short PROIO_yylen[] = { 2,
0, 2, 2, 2, 2, 4, 2, 3, 0, 1,
3, 3, 1, 1, 1, 1, 3, 3, 5, 1,
};
short PROIO_yydefred[] = { 1,
0, 0, 0, 0, 2, 0, 5, 3, 0, 0,
0, 15, 7, 20, 0, 0, 13, 4, 0, 0,
0, 0, 8, 0, 6, 0, 18, 0, 12, 11,
0, 19,
};
short PROIO_yydgoto[] = { 1,
5, 14, 15, 16, 17,
};
short PROIO_yysindex[] = { 0,
-2, 9, 2, 1, 0, 10, 0, 0, 11, -5,
17, 0, 0, 0, 14, -1, 0, 0, 33, 38,
41, 16, 0, 11, 0, 29, 0, 40, 0, 0,
44, 0,
};
short PROIO_yyrindex[] = { 0,
0, 0, 0, 0, 0, 0, 0, 0, 42, 21,
24, 0, 0, 0, 0, 30, 0, 0, 0, 0,
0, 0, 0, 31, 0, 27, 0, 24, 0, 0,
0, 0,
};
short PROIO_yygindex[] = { 0,
0, 45, -8, 0, 26,
};
short PROIO_yytable[] = { 3,
19, 10, 11, 12, 24, 9, 4, 20, 21, 4,
13, 10, 11, 12, 8, 30, 10, 28, 12, 4,
9, 7, 18, 23, 4, 16, 16, 22, 14, 14,
16, 17, 17, 14, 10, 9, 17, 25, 26, 10,
9, 27, 31, 9, 32, 6, 9, 29, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 2,
};
short PROIO_yycheck[] = { 2,
9, 1, 2, 3, 6, 4, 9, 13, 14, 9,
10, 1, 2, 3, 13, 24, 1, 2, 3, 9,
4, 13, 13, 10, 9, 5, 6, 11, 5, 6,
10, 5, 6, 10, 5, 5, 10, 5, 1, 10,
10, 1, 14, 4, 1, 1, 5, 22, -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, -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, 256,
};
int PROIO_yydebug;
int PROIO_yynerrs;
int PROIO_yyerrflag;
int PROIO_yychar;
short *PROIO_yyssp;
YYSTYPE *PROIO_yyvsp;
YYSTYPE PROIO_yyval;
YYSTYPE PROIO_yylval;
short PROIO_yyss[600];
YYSTYPE PROIO_yyvs[600];
#line 118 "parser.y"
#pragma info( none )
#pragma info( none )
#pragma info( restore )
enum _OPERATIONS { _IOINIT, _IOREAD, _IOWRITE, _IOREPOSITION,
_IOFLUSH, _IOUNDEFOP };
#pragma pack( 1 )
typedef struct __file
{
unsigned char *_bufPtr;
unsigned long int _count;
unsigned long int _userFlags;
unsigned long int _bufLen;
unsigned long int _ungetCount;
int _tempStore;
unsigned char _ungetBuf[2];
enum _OPERATIONS _lastOp;
char _filler;
} FILE;
#pragma pack( )
typedef struct __fpos_t
{
long int __fpos_elem[2];
} fpos_t;
typedef char *__va_list;
extern FILE * const _Import stdin;
extern FILE * const _Import stdout;
extern FILE * const _Import stderr;
int _Import _Optlink fprintf( FILE *, const char *, ... );
int _Import _Optlink fscanf( FILE *, const char *, ... );
int _Import _Optlink printf( const char *, ... );
int _Import _Optlink scanf( const char *, ... );
int _Import _Optlink sprintf( char *, const char *, ... );
int _Import _Optlink sscanf( const char *, const char *, ... );
void _Import _Optlink clearerr( FILE * );
int _Import _Optlink fclose( FILE * );
int _Import _Optlink feof( FILE * );
int _Import _Optlink ferror( FILE * );
int _Import _Optlink fflush( FILE * );
int _Import _Optlink fgetc( FILE * );
int _Import _Optlink fgetpos( FILE *, fpos_t * );
char * _Import _Optlink fgets( char *, int, FILE * );
FILE * _Import _Optlink fopen( const char *, const char * );
int _Import _Optlink fputc( int, FILE * );
int _Import _Optlink fputs( const char *, FILE * );
size_t _Import _Optlink fread( void *, size_t, size_t, FILE * );
FILE * _Import _Optlink freopen( const char *, const char *, FILE * );
int _Import _Optlink fseek( FILE *, long int, int );
int _Import _Optlink fsetpos( FILE *, const fpos_t * );
long int _Import _Optlink ftell( FILE * );
size_t _Import _Optlink fwrite( const void *, size_t, size_t, FILE * );
int _Optlink getc( FILE * );
int _Optlink getchar( void );
char * _Import _Optlink gets( char * );
void _Import _Optlink perror( const char * );
int _Optlink putc( int, FILE * );
int _Optlink putchar( int );
int _Import _Optlink puts( const char * );
int _Import _Optlink remove( const char * );
int _Import _Optlink rename( const char *, const char * );
void _Import _Optlink rewind( FILE * );
void _Import _Optlink setbuf( FILE *, char * );
int _Import _Optlink setvbuf( FILE *, char *, int, size_t );
FILE * _Import _Optlink tmpfile( void );
char * _Import _Optlink tmpnam( char * );
int _Import _Optlink ungetc( int, FILE * );
int _Import _Optlink vfprintf( FILE *, const char *, __va_list );
int _Import _Optlink vprintf( const char *, __va_list );
int _Import _Optlink vsprintf( char *, const char *, __va_list );
#pragma map( fprintf, "_fprintfieee" )
#pragma map( printf , "_printfieee" )
#pragma map( sprintf, "_sprintfieee" )
#pragma map( fscanf , "_fscanfieee" )
#pragma map( scanf , "_scanfieee" )
#pragma map( sscanf , "_sscanfieee" )
#pragma map( vfprintf, "_vfprintfieee" )
#pragma map( vprintf , "_vprintfieee" )
#pragma map( vsprintf, "_vsprintfieee" )
int _Optlink _fcloseall( void );
int _Optlink _rmtmp( void );
FILE * _Optlink fdopen( int, const char *);
int _Optlink fgetchar( void );
int _Optlink fileno( FILE * );
int _Optlink flushall( void );
int _Optlink fputchar( int );
char * _Optlink tempnam( char *, char * );
int _Optlink unlink( const char * );
FILE * _Optlink _fdopen( int, const char *);
int _Optlink _fgetchar( void );
int _Optlink _fileno( FILE * );
int _Optlink _flushall( void );
int _Optlink _fputchar( int );
char * _Optlink _tempnam( char *, char * );
int _Optlink _unlink( const char * );
int _Optlink _set_crt_msg_handle( int );
#pragma map( fdopen , "_fdopen" )
#pragma map( fgetchar, "_fgetchar" )
#pragma map( fileno , "_fileno" )
#pragma map( flushall, "_flushall" )
#pragma map( fputchar, "_fputchar" )
#pragma map( tempnam , "_tempnam" )
#pragma info( none )
#pragma info( restore )
#pragma info( restore )
int read();
int PROIO_yywrap(void) { return 1; }
typedef struct yy_buffer_state *YY_BUFFER_STATE;
# line 1 "lexer.l"
# line 9 "lexer.l"
#pragma info( none )
#pragma info( none )
#pragma info( restore )
#pragma info( none )
#pragma info( restore )
#pragma info( restore )
static size_t lex_buffer_length = 0;
static char *lex_buffer = 0;
static size_t lex_string_ptr = 0;
static int lex_read_from_string = 0;
static int my_input(void);
static int my_unput(char);
# line 58 "lexer.l"
struct yy_buffer_state
{
FILE *yy_input_file;
unsigned char *yy_ch_buf;
unsigned char *yy_buf_pos;
int yy_buf_size;
int yy_n_chars;
int yy_eof_status;
};
static YY_BUFFER_STATE yy_current_buffer;
static unsigned char yy_hold_char;
static int yy_n_chars;
extern unsigned char *PROIO_yytext;
extern int PROIO_yyleng;
extern FILE *PROIO_yyin, *PROIO_yyout;
unsigned char *PROIO_yytext;
int PROIO_yyleng;
FILE *PROIO_yyin = (FILE *) 0, *PROIO_yyout = (FILE *) 0;
typedef int yy_state_type;
static short int yy_accept[34] =
{ 0,
0, 0, 18, 16, 13, 14, 16, 16, 6, 7,
16, 8, 12, 16, 1, 11, 3, 9, 10, 2,
0, 5, 0, 0, 0, 4, 1, 15, 3, 5,
0, 0, 0
} ;
static unsigned char yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 1, 4, 1, 1, 1, 1, 5, 6,
7, 8, 9, 10, 9, 11, 12, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 1, 1, 1,
14, 1, 1, 1, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
16, 17, 18, 1, 15, 1, 15, 15, 15, 15,