summaryrefslogtreecommitdiff
path: root/Build/source/libs/curl/lib/getdate.output
blob: d62e9083d42901077c78102aff1e475852d8a0c7 (plain)
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


Terminals which are not used:

   tID


State 11 contains 9 shift/reduce conflicts.
State 35 contains 2 shift/reduce conflicts.
State 48 contains 1 shift/reduce conflict.
State 56 contains 1 shift/reduce conflict.

Grammar
rule 1    spec ->		/* empty */
rule 2    spec -> spec item
rule 3    item -> time
rule 4    item -> zone
rule 5    item -> date
rule 6    item -> day
rule 7    item -> rel
rule 8    item -> number
rule 9    time -> tUNUMBER tMERIDIAN
rule 10   time -> tUNUMBER ':' tUNUMBER o_merid
rule 11   time -> tUNUMBER ':' tUNUMBER tSNUMBER
rule 12   time -> tUNUMBER ':' tUNUMBER ':' tUNUMBER o_merid
rule 13   time -> tUNUMBER ':' tUNUMBER ':' tUNUMBER tSNUMBER
rule 14   zone -> tZONE
rule 15   zone -> tDAYZONE
rule 16   zone -> tZONE tDST
rule 17   day -> tDAY
rule 18   day -> tDAY ','
rule 19   day -> tUNUMBER tDAY
rule 20   date -> tUNUMBER '/' tUNUMBER
rule 21   date -> tUNUMBER '/' tUNUMBER '/' tUNUMBER
rule 22   date -> tUNUMBER tSNUMBER tSNUMBER
rule 23   date -> tUNUMBER tMONTH tSNUMBER
rule 24   date -> tMONTH tUNUMBER
rule 25   date -> tMONTH tUNUMBER ',' tUNUMBER
rule 26   date -> tUNUMBER tMONTH
rule 27   date -> tUNUMBER tMONTH tUNUMBER
rule 28   rel -> relunit tAGO
rule 29   rel -> relunit
rule 30   relunit -> tUNUMBER tYEAR_UNIT
rule 31   relunit -> tSNUMBER tYEAR_UNIT
rule 32   relunit -> tYEAR_UNIT
rule 33   relunit -> tUNUMBER tMONTH_UNIT
rule 34   relunit -> tSNUMBER tMONTH_UNIT
rule 35   relunit -> tMONTH_UNIT
rule 36   relunit -> tUNUMBER tDAY_UNIT
rule 37   relunit -> tSNUMBER tDAY_UNIT
rule 38   relunit -> tDAY_UNIT
rule 39   relunit -> tUNUMBER tHOUR_UNIT
rule 40   relunit -> tSNUMBER tHOUR_UNIT
rule 41   relunit -> tHOUR_UNIT
rule 42   relunit -> tUNUMBER tMINUTE_UNIT
rule 43   relunit -> tSNUMBER tMINUTE_UNIT
rule 44   relunit -> tMINUTE_UNIT
rule 45   relunit -> tUNUMBER tSEC_UNIT
rule 46   relunit -> tSNUMBER tSEC_UNIT
rule 47   relunit -> tSEC_UNIT
rule 48   number -> tUNUMBER
rule 49   o_merid ->		/* empty */
rule 50   o_merid -> tMERIDIAN

Terminals, with rules where they appear

$ (-1)
',' (44) 18 25
'/' (47) 20 21
':' (58) 10 11 12 13
error (256)
tAGO (257) 28
tDAY (258) 17 18 19
tDAY_UNIT (259) 36 37 38
tDAYZONE (260) 15
tDST (261) 16
tHOUR_UNIT (262) 39 40 41
tID (263)
tMERIDIAN (264) 9 50
tMINUTE_UNIT (265) 42 43 44
tMONTH (266) 23 24 25 26 27
tMONTH_UNIT (267) 33 34 35
tSEC_UNIT (268) 45 46 47
tSNUMBER (269) 11 13 22 23 31 34 37 40 43 46
tUNUMBER (270) 9 10 11 12 13 19 20 21 22 23 24 25 26 27 30 33 36 39
    42 45 48
tYEAR_UNIT (271) 30 31 32
tZONE (272) 14 16

Nonterminals, with rules where they appear

spec (22)
    on left: 1 2, on right: 2
item (23)
    on left: 3 4 5 6 7 8, on right: 2
time (24)
    on left: 9 10 11 12 13, on right: 3
zone (25)
    on left: 14 15 16, on right: 4
day (26)
    on left: 17 18 19, on right: 6
date (27)
    on left: 20 21 22 23 24 25 26 27, on right: 5
rel (28)
    on left: 28 29, on right: 7
relunit (29)
    on left: 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
   , on right: 28 29
number (30)
    on left: 48, on right: 8
o_merid (31)
    on left: 49 50, on right: 10 12


state 0

    $default	reduce using rule 1 (spec)

    spec	go to state 1



state 1

    spec  ->  spec . item   (rule 2)

    $   	go to state 60
    tDAY	shift, and go to state 2
    tDAY_UNIT	shift, and go to state 3
    tDAYZONE	shift, and go to state 4
    tHOUR_UNIT	shift, and go to state 5
    tMINUTE_UNIT	shift, and go to state 6
    tMONTH	shift, and go to state 7
    tMONTH_UNIT	shift, and go to state 8
    tSEC_UNIT	shift, and go to state 9
    tSNUMBER	shift, and go to state 10
    tUNUMBER	shift, and go to state 11
    tYEAR_UNIT	shift, and go to state 12
    tZONE	shift, and go to state 13

    item	go to state 14
    time	go to state 15
    zone	go to state 16
    day 	go to state 17
    date	go to state 18
    rel 	go to state 19
    relunit	go to state 20
    number	go to state 21



state 2

    day  ->  tDAY .   (rule 17)
    day  ->  tDAY . ','   (rule 18)

    ',' 	shift, and go to state 22

    $default	reduce using rule 17 (day)



state 3

    relunit  ->  tDAY_UNIT .   (rule 38)

    $default	reduce using rule 38 (relunit)



state 4

    zone  ->  tDAYZONE .   (rule 15)

    $default	reduce using rule 15 (zone)



state 5

    relunit  ->  tHOUR_UNIT .   (rule 41)

    $default	reduce using rule 41 (relunit)



state 6

    relunit  ->  tMINUTE_UNIT .   (rule 44)

    $default	reduce using rule 44 (relunit)



state 7

    date  ->  tMONTH . tUNUMBER   (rule 24)
    date  ->  tMONTH . tUNUMBER ',' tUNUMBER   (rule 25)

    tUNUMBER	shift, and go to state 23



state 8

    relunit  ->  tMONTH_UNIT .   (rule 35)

    $default	reduce using rule 35 (relunit)



state 9

    relunit  ->  tSEC_UNIT .   (rule 47)

    $default	reduce using rule 47 (relunit)



state 10

    relunit  ->  tSNUMBER . tYEAR_UNIT   (rule 31)
    relunit  ->  tSNUMBER . tMONTH_UNIT   (rule 34)
    relunit  ->  tSNUMBER . tDAY_UNIT   (rule 37)
    relunit  ->  tSNUMBER . tHOUR_UNIT   (rule 40)
    relunit  ->  tSNUMBER . tMINUTE_UNIT   (rule 43)
    relunit  ->  tSNUMBER . tSEC_UNIT   (rule 46)

    tDAY_UNIT	shift, and go to state 24
    tHOUR_UNIT	shift, and go to state 25
    tMINUTE_UNIT	shift, and go to state 26
    tMONTH_UNIT	shift, and go to state 27
    tSEC_UNIT	shift, and go to state 28
    tYEAR_UNIT	shift, and go to state 29



state 11

    time  ->  tUNUMBER . tMERIDIAN   (rule 9)
    time  ->  tUNUMBER . ':' tUNUMBER o_merid   (rule 10)
    time  ->  tUNUMBER . ':' tUNUMBER tSNUMBER   (rule 11)
    time  ->  tUNUMBER . ':' tUNUMBER ':' tUNUMBER o_merid   (rule 12)
    time  ->  tUNUMBER . ':' tUNUMBER ':' tUNUMBER tSNUMBER   (rule 13)
    day  ->  tUNUMBER . tDAY   (rule 19)
    date  ->  tUNUMBER . '/' tUNUMBER   (rule 20)
    date  ->  tUNUMBER . '/' tUNUMBER '/' tUNUMBER   (rule 21)
    date  ->  tUNUMBER . tSNUMBER tSNUMBER   (rule 22)
    date  ->  tUNUMBER . tMONTH tSNUMBER   (rule 23)
    date  ->  tUNUMBER . tMONTH   (rule 26)
    date  ->  tUNUMBER . tMONTH tUNUMBER   (rule 27)
    relunit  ->  tUNUMBER . tYEAR_UNIT   (rule 30)
    relunit  ->  tUNUMBER . tMONTH_UNIT   (rule 33)
    relunit  ->  tUNUMBER . tDAY_UNIT   (rule 36)
    relunit  ->  tUNUMBER . tHOUR_UNIT   (rule 39)
    relunit  ->  tUNUMBER . tMINUTE_UNIT   (rule 42)
    relunit  ->  tUNUMBER . tSEC_UNIT   (rule 45)
    number  ->  tUNUMBER .   (rule 48)

    tDAY	shift, and go to state 30
    tDAY_UNIT	shift, and go to state 31
    tHOUR_UNIT	shift, and go to state 32
    tMERIDIAN	shift, and go to state 33
    tMINUTE_UNIT	shift, and go to state 34
    tMONTH	shift, and go to state 35
    tMONTH_UNIT	shift, and go to state 36
    tSEC_UNIT	shift, and go to state 37
    tSNUMBER	shift, and go to state 38
    tYEAR_UNIT	shift, and go to state 39
    ':' 	shift, and go to state 40
    '/' 	shift, and go to state 41

    tDAY	[reduce using rule 48 (number)]
    tDAY_UNIT	[reduce using rule 48 (number)]
    tHOUR_UNIT	[reduce using rule 48 (number)]
    tMINUTE_UNIT	[reduce using rule 48 (number)]
    tMONTH	[reduce using rule 48 (number)]
    tMONTH_UNIT	[reduce using rule 48 (number)]
    tSEC_UNIT	[reduce using rule 48 (number)]
    tSNUMBER	[reduce using rule 48 (number)]
    tYEAR_UNIT	[reduce using rule 48 (number)]
    $default	reduce using rule 48 (number)



state 12

    relunit  ->  tYEAR_UNIT .   (rule 32)

    $default	reduce using rule 32 (relunit)



state 13

    zone  ->  tZONE .   (rule 14)
    zone  ->  tZONE . tDST   (rule 16)

    tDST	shift, and go to state 42

    $default	reduce using rule 14 (zone)



state 14

    spec  ->  spec item .   (rule 2)

    $default	reduce using rule 2 (spec)



state 15

    item  ->  time .   (rule 3)

    $default	reduce using rule 3 (item)



state 16

    item  ->  zone .   (rule 4)

    $default	reduce using rule 4 (item)



state 17

    item  ->  day .   (rule 6)

    $default	reduce using rule 6 (item)



state 18

    item  ->  date .   (rule 5)

    $default	reduce using rule 5 (item)



state 19

    item  ->  rel .   (rule 7)

    $default	reduce using rule 7 (item)



state 20

    rel  ->  relunit . tAGO   (rule 28)
    rel  ->  relunit .   (rule 29)

    tAGO	shift, and go to state 43

    $default	reduce using rule 29 (rel)



state 21

    item  ->  number .   (rule 8)

    $default	reduce using rule 8 (item)



state 22

    day  ->  tDAY ',' .   (rule 18)

    $default	reduce using rule 18 (day)



state 23

    date  ->  tMONTH tUNUMBER .   (rule 24)
    date  ->  tMONTH tUNUMBER . ',' tUNUMBER   (rule 25)

    ',' 	shift, and go to state 44

    $default	reduce using rule 24 (date)



state 24

    relunit  ->  tSNUMBER tDAY_UNIT .   (rule 37)

    $default	reduce using rule 37 (relunit)



state 25

    relunit  ->  tSNUMBER tHOUR_UNIT .   (rule 40)

    $default	reduce using rule 40 (relunit)



state 26

    relunit  ->  tSNUMBER tMINUTE_UNIT .   (rule 43)

    $default	reduce using rule 43 (relunit)



state 27

    relunit  ->  tSNUMBER tMONTH_UNIT .   (rule 34)

    $default	reduce using rule 34 (relunit)



state 28

    relunit  ->  tSNUMBER tSEC_UNIT .   (rule 46)

    $default	reduce using rule 46 (relunit)



state 29

    relunit  ->  tSNUMBER tYEAR_UNIT .   (rule 31)

    $default	reduce using rule 31 (relunit)



state 30

    day  ->  tUNUMBER tDAY .   (rule 19)

    $default	reduce using rule 19 (day)



state 31

    relunit  ->  tUNUMBER tDAY_UNIT .   (rule 36)

    $default	reduce using rule 36 (relunit)



state 32

    relunit  ->  tUNUMBER tHOUR_UNIT .   (rule 39)

    $default	reduce using rule 39 (relunit)



state 33

    time  ->  tUNUMBER tMERIDIAN .   (rule 9)

    $default	reduce using rule 9 (time)



state 34

    relunit  ->  tUNUMBER tMINUTE_UNIT .   (rule 42)

    $default	reduce using rule 42 (relunit)



state 35

    date  ->  tUNUMBER tMONTH . tSNUMBER   (rule 23)
    date  ->  tUNUMBER tMONTH .   (rule 26)
    date  ->  tUNUMBER tMONTH . tUNUMBER   (rule 27)

    tSNUMBER	shift, and go to state 45
    tUNUMBER	shift, and go to state 46

    tSNUMBER	[reduce using rule 26 (date)]
    tUNUMBER	[reduce using rule 26 (date)]
    $default	reduce using rule 26 (date)



state 36

    relunit  ->  tUNUMBER tMONTH_UNIT .   (rule 33)

    $default	reduce using rule 33 (relunit)



state 37

    relunit  ->  tUNUMBER tSEC_UNIT .   (rule 45)

    $default	reduce using rule 45 (relunit)



state 38

    date  ->  tUNUMBER tSNUMBER . tSNUMBER   (rule 22)

    tSNUMBER	shift, and go to state 47



state 39

    relunit  ->  tUNUMBER tYEAR_UNIT .   (rule 30)

    $default	reduce using rule 30 (relunit)



state 40

    time  ->  tUNUMBER ':' . tUNUMBER o_merid   (rule 10)
    time  ->  tUNUMBER ':' . tUNUMBER tSNUMBER   (rule 11)
    time  ->  tUNUMBER ':' . tUNUMBER ':' tUNUMBER o_merid   (rule 12)
    time  ->  tUNUMBER ':' . tUNUMBER ':' tUNUMBER tSNUMBER   (rule 13)

    tUNUMBER	shift, and go to state 48



state 41

    date  ->  tUNUMBER '/' . tUNUMBER   (rule 20)
    date  ->  tUNUMBER '/' . tUNUMBER '/' tUNUMBER   (rule 21)

    tUNUMBER	shift, and go to state 49



state 42

    zone  ->  tZONE tDST .   (rule 16)

    $default	reduce using rule 16 (zone)



state 43

    rel  ->  relunit tAGO .   (rule 28)

    $default	reduce using rule 28 (rel)



state 44

    date  ->  tMONTH tUNUMBER ',' . tUNUMBER   (rule 25)

    tUNUMBER	shift, and go to state 50



state 45

    date  ->  tUNUMBER tMONTH tSNUMBER .   (rule 23)

    $default	reduce using rule 23 (date)



state 46

    date  ->  tUNUMBER tMONTH tUNUMBER .   (rule 27)

    $default	reduce using rule 27 (date)



state 47

    date  ->  tUNUMBER tSNUMBER tSNUMBER .   (rule 22)

    $default	reduce using rule 22 (date)



state 48

    time  ->  tUNUMBER ':' tUNUMBER . o_merid   (rule 10)
    time  ->  tUNUMBER ':' tUNUMBER . tSNUMBER   (rule 11)
    time  ->  tUNUMBER ':' tUNUMBER . ':' tUNUMBER o_merid   (rule 12)
    time  ->  tUNUMBER ':' tUNUMBER . ':' tUNUMBER tSNUMBER   (rule 13)

    tMERIDIAN	shift, and go to state 51
    tSNUMBER	shift, and go to state 52
    ':' 	shift, and go to state 53

    tSNUMBER	[reduce using rule 49 (o_merid)]
    $default	reduce using rule 49 (o_merid)

    o_merid	go to state 54



state 49

    date  ->  tUNUMBER '/' tUNUMBER .   (rule 20)
    date  ->  tUNUMBER '/' tUNUMBER . '/' tUNUMBER   (rule 21)

    '/' 	shift, and go to state 55

    $default	reduce using rule 20 (date)



state 50

    date  ->  tMONTH tUNUMBER ',' tUNUMBER .   (rule 25)

    $default	reduce using rule 25 (date)



state 51

    o_merid  ->  tMERIDIAN .   (rule 50)

    $default	reduce using rule 50 (o_merid)



state 52

    time  ->  tUNUMBER ':' tUNUMBER tSNUMBER .   (rule 11)

    $default	reduce using rule 11 (time)



state 53

    time  ->  tUNUMBER ':' tUNUMBER ':' . tUNUMBER o_merid   (rule 12)
    time  ->  tUNUMBER ':' tUNUMBER ':' . tUNUMBER tSNUMBER   (rule 13)

    tUNUMBER	shift, and go to state 56



state 54

    time  ->  tUNUMBER ':' tUNUMBER o_merid .   (rule 10)

    $default	reduce using rule 10 (time)



state 55

    date  ->  tUNUMBER '/' tUNUMBER '/' . tUNUMBER   (rule 21)

    tUNUMBER	shift, and go to state 57



state 56

    time  ->  tUNUMBER ':' tUNUMBER ':' tUNUMBER . o_merid   (rule 12)
    time  ->  tUNUMBER ':' tUNUMBER ':' tUNUMBER . tSNUMBER   (rule 13)

    tMERIDIAN	shift, and go to state 51
    tSNUMBER	shift, and go to state 58

    tSNUMBER	[reduce using rule 49 (o_merid)]
    $default	reduce using rule 49 (o_merid)

    o_merid	go to state 59



state 57

    date  ->  tUNUMBER '/' tUNUMBER '/' tUNUMBER .   (rule 21)

    $default	reduce using rule 21 (date)



state 58

    time  ->  tUNUMBER ':' tUNUMBER ':' tUNUMBER tSNUMBER .   (rule 13)

    $default	reduce using rule 13 (time)



state 59

    time  ->  tUNUMBER ':' tUNUMBER ':' tUNUMBER o_merid .   (rule 12)

    $default	reduce using rule 12 (time)



state 60

    $   	go to state 61



state 61

    $default	accept