-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCHANGES
More file actions
6032 lines (4350 loc) · 221 KB
/
CHANGES
File metadata and controls
6032 lines (4350 loc) · 221 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
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
2026-01-24 Thomas E. Dickey <dickey@invisible-island.net>
* test/expr.oxout.h, test/btyacc/calc_code_all.tab.c,
test/btyacc/calc_code_all.tab.h, test/btyacc/calc_code_default.tab.c,
test/btyacc/calc_code_provides.tab.c,
test/btyacc/calc_code_provides.tab.h,
test/btyacc/calc_code_requires.tab.c,
test/btyacc/calc_code_requires.tab.h, test/btyacc/calc_code_top.tab.c,
test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h,
test/yacc/calc_code_all.tab.c, test/yacc/calc_code_all.tab.h,
test/yacc/calc_code_default.tab.c, test/yacc/calc_code_provides.tab.c,
test/yacc/calc_code_provides.tab.h,
test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_requires.tab.h,
test/yacc/calc_code_top.tab.c, test/yacc/ok_syntax1.tab.c,
test/yacc/ok_syntax1.tab.h:
trim
* output.c, defs.h, reader.c:
add/use puts_trim() to trim trailing blanks from output files
* package/debian/copyright: bump
* configure: regen
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2025-12-25 Thomas E. Dickey <dickey@invisible-island.net>
* aclocal.m4: resync with my-autoconf
2025-12-14 Thomas E. Dickey <dickey@invisible-island.net>
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
* configure: regen
* aclocal.m4:
resync with my-autoconf: reduces warnings if "modern" autoconf is used
* configure.in: adjusted with autoupdate
2025-11-11 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* aclocal.m4: resync with my-autoconf
fixes for portability vs "t64" variants of glibc
2025-10-07 Thomas E. Dickey <dickey@invisible-island.net>
* main.c, closure.c, graph.c, lalr.c, lr0.c, mkpar.c, output.c,
reader.c, verbose.c, warshall.c:
cppcheck
* package/debian/copyright, VERSION, package/byacc.spec,
package/debian/changelog, package/mingw-byacc.spec,
package/pkgsrc/Makefile:
bump
* configure: regen
* aclocal.m4: resync with my-autoconf
use CF_PROG_INSTALL
* configure.in: use CF_PROG_INSTALL
2025-07-09 Thomas E. Dickey <dickey@invisible-island.net>
* config.guess, config.sub: update to 2025-07-10
2025-06-08 Thomas E. Dickey <dickey@invisible-island.net>
* install-sh: fix license
2024-12-31 Thomas E. Dickey <dickey@invisible-island.net>
* package/pkgsrc/distinfo: regen
* main.c: s/0/NULL/
* main.c: gcc warning
* reader.c:
make UCH() consistent wrt IS_xxxx macros (prompted by patch by Christos Zoulas)
2024-12-31 Christos Zoulas <christos@NetBSD.org>
* main.c:
from NetBSD - if "-o" option is given, derive the filename of the ".h"
definitions-file by stripping commonly-used C/C++ suffixes such as ".c"
and then adding ".h"
2024-12-31 Thomas E. Dickey <dickey@invisible-island.net>
* main.c: provide a fallback definition for W_OK, e.g., for Windows
* package/pkgsrc/Makefile:
resync with pkgsrc in NetBSD 10 (report by Roland Illig)
* yacc.1: minor typographical fixes
* main.c: correct condition for using $TEMP environment variable
(report by Johann 'Myrkraverk' Oskarsson)
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2024-12-21 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* aclocal.m4: resync with my-autoconf
2024-12-14 Thomas E. Dickey <dickey@invisible-island.net>
* output.c, yaccpar.c: gcc15 zero vs null warnings
* test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c,
test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c,
test/yacc/calc_code_provides.tab.c,
test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c,
test/yacc/code_error.code.c, test/yacc/code_error.tab.c,
test/yacc/defines1.calc.c, test/yacc/defines2.calc.c,
test/yacc/defines3.calc.c, test/yacc/empty.tab.c,
test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c,
test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c,
test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c,
test/yacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c,
test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c,
test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c,
test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c,
test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c,
test/btyacc/calc_code_imports.tab.c,
test/btyacc/calc_code_provides.tab.c,
test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c,
test/btyacc/code_error.code.c, test/btyacc/code_error.tab.c,
test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c,
test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c,
test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c:
regen
* lalr.c, mstring.c, reader.c, btyaccpar.c, test/expr.oxout.y,
test/grammar.y, test/varsyntax_calc1.y, test/err_syntax27.y,
test/calc1.y, test/btyacc_demo.y, test/btyacc_calc1.y, symtab.c,
main.c, mkpar.c, lr0.c, defs.h, error.c:
gcc15 zero vs null warnings
* configure: regen
* aclocal.m4: resync with my-autoconf
* package/pkgsrc/Makefile, VERSION, package/byacc.spec,
package/debian/changelog, package/mingw-byacc.spec:
bump
2024-07-28 Thomas E. Dickey <dickey@invisible-island.net>
* config.guess: 2024-07-27
2024-06-03 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2024-05-27
2024-01-09 Thomas E. Dickey <dickey@invisible-island.net>
* yacc.1: minor cleanup
* package/debian/copyright: bump
* configure: regen
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2023-12-01 Thomas E. Dickey <dickey@invisible-island.net>
* aclocal.m4:
resync with my-autoconf: CF_CONST_X_STRING CF_MKSTEMP CF_WITH_MAN2HTML CF_XOPEN_SOURCE
2023-09-15 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2023-09-15
2023-08-22 Thomas E. Dickey <dickey@invisible-island.net>
* config.guess: 2023-08-22
2023-05-31 Thomas E. Dickey <dickey@invisible-island.net>
* package/pkgsrc/distinfo: resync with pkgsrc
2023-05-21 Thomas E. Dickey <dickey@invisible-island.net>
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
* configure: regen
* aclocal.m4:
updates for CF_INSTALL_MAN from reflex, which needs the symbolic link feature
* aclocal.m4:
improve install-man by adding sed commands for --program-transform-name
2023-05-19 Thomas E. Dickey <dickey@invisible-island.net>
* makefile.in: use CF_INSTALL_MAN
* aclocal.m4:
add CF_INSTALL_MAN, to begin refactoring install rule for manpage
* configure: regen
* configure.in: use CF_INSTALL_MAN
2023-05-18 Thomas E. Dickey <dickey@invisible-island.net>
* error.c, defs.h, reader.c:
allow @1 or $@ with a warning if no %locations was given
2023-05-17 Thomas E. Dickey <dickey@invisible-island.net>
* reader.c: clear pointer in end_ainfo() after freeing it.
2023-05-16 Thomas E. Dickey <dickey@invisible-island.net>
* reader.c: report errors in %define as "unexpected value"
* reader.c:
add/use macros begin_ainfo() and end_ainfo() to reduce clutter
* defs.h, error.c: add function unexpected_value()
* reader.c:
recognize bison's "%define api.pure" as an alternative to "%pure-parser"
* reader.c:
add %nterm as an alias for %type, since bison made that confusion.
* reader.c:
ensure that filler_buf and prefix_buf are initialized for the special case
where they are empty (report by Martin Jansa, cf: 20230219)
* output.c:
make test-differences smaller when compiling with YY_NO_LEAKS by replacing
a blank line with the generated #define rather than adding 3 lines.
* reader.c: gcc-warnings
2023-05-15 Thomas E. Dickey <dickey@invisible-island.net>
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
* reader.c:
when copying parameters, check for a case where the last token is not a
name, e.g., "foo [1]" would have "[1]". In this case, scan back to find
the actual parameter name.
* reader.c:
correct a use-after-free in more_curly, which could occur if a %lex-param
or %parse-param was multi-line (Redhat #2183006).
2023-05-11 Thomas E. Dickey <dickey@invisible-island.net>
* main.c: rename no_space() to on_error()
* error.c: rename no_space() to no_error(), handling any errno
* defs.h: rename no_space() to on_error()
2023-04-03 Thomas E. Dickey <dickey@invisible-island.net>
* aclocal.m4: resync with my-autoconf: CF_GCC_VERSION CF_XOPEN_SOURCE
2023-02-26 Thomas E. Dickey <dickey@invisible-island.net>
* mstring.c, reader.c: yak-indent
2023-02-26 mingodad
* reader.c:
patch for byacc #6: Segmentation fault when trying to parse bison-3.8.2 grammar
2023-02-26 Thomas E. Dickey <dickey@invisible-island.net>
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2023-02-20 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* aclocal.m4: resync with my-autoconf
2023-02-19 Thomas E. Dickey <dickey@invisible-island.net>
* test/yacc/ok_syntax1.tab.h, test/yacc/ok_syntax1.tab.c,
test/btyacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.tab.c:
regen
* test/ok_syntax1.y:
modify test for %union to add tag for testing reader.c
* reader.c:
provide for a named union, e.g., "%union foo" by detecting the name and
deferring the typedef in that case until the end of copying the union
definition (report by Dag-Erling Smørgrav).
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2023-02-01 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* configure.in: initialize $ac_includes_default
* VERSION, package/byacc.spec, package/debian/changelog,
package/debian/copyright, package/mingw-byacc.spec,
package/pkgsrc/Makefile:
bump
2023-01-05 Thomas E. Dickey <dickey@invisible-island.net>
* aclocal.m4: resync with my-autoconf
2022-12-29 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* configure.in:
correct help-message for --disable-btyacc option, and fix the reporting of
the selected option value in the configure script's output (report by Daniel
Weaver)
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2022-12-02 Thomas E. Dickey <dickey@invisible-island.net>
* aclocal.m4: resync with my-autconf
2022-11-06 Thomas E. Dickey <dickey@invisible-island.net>
* test/run_test.sh: use context diff, to work with AIX
* defs.h:
fprintf_lineno might be passed a null, when reading from stdin - show "(null)"
* makefile.in, test/run_make.sh, test/run_test.sh, test/run_lint.sh:
fgrep-fixes
* yacc.1: mention use of stderr/stdout for usage/debugging
* yacc.1: document %empty
* yacc.1: document %debug
* yacc.1: minor fixes with check-manpage
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2022-10-02 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* aclocal.m4: resync with my-autoconf
2022-08-01 Thomas E. Dickey <dickey@invisible-island.net>
* config.guess, config.sub: 2022-08-01
2022-01-28 Thomas E. Dickey <dickey@invisible-island.net>
* package/debian/copyright: update, fix typo
* package/debian/rules, package/debian/control:
adapt from current Debian package
* configure: regen
* configure.in:
change default for the backtracking option to match the most-common usage
of byacc
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
update packaging, renaming debian folder back to its original location to
verify that the version-mangling used in the accepted Debian package will work
with the continuous-integration system.
2022-01-18 Thomas E. Dickey <dickey@invisible-island.net>
* package/debian/watch: adapt from current Debian package
2022-01-14 Thomas E. Dickey <dickey@invisible-island.net>
* VERSION, package/byacc.spec, package/detest/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2022-01-09 Thomas E. Dickey <dickey@invisible-island.net>
* package/detest/changelog: build-script
* package/debian/changelog:
update to use oldstable-compatible rules/config, for testing version upgrade
* package/detest/watch: build-script
* package/debian/watch:
update to use oldstable-compatible rules/config, for testing version upgrade
* package/detest/control: build-script
* package/debian/control:
update to use oldstable-compatible rules/config, for testing version upgrade
* package/byacc.spec, package/mingw-byacc.spec:
use rpmlint, etc., to "update" these to follow Redhat7 and later.
due to incompatbilities in that route, this package will not build with #6.
* reader.c, output.c:
change a few malloc's to calloc's so clang analyzer can see initialized data
* closure.c:
modify address computation in closure.c to avoid undefined behavior on
machines which do not support large offsets (analysis/patch by Jessica Clarke,
cf: 2014-09-17)
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2022-01-08 Thomas E. Dickey <dickey@invisible-island.net>
* package/detest/copyright, package/detest/rules: build-script
* package/debian/copyright, package/debian/rules:
update to use oldstable-compatible rules/config, for testing version upgrade
2022-01-02 Thomas E. Dickey <dickey@invisible-island.net>
* package/debian/control: minor fixes adapted from btyacc package
* package/debian/byacc.docs: RCS_BASE
* package/detest/byacc.docs: build-script
* package/debian/byacc2.prerm: RCS_BASE
* package/detest/byacc2.prerm: build-script
* package/debian/byacc2.postinst: RCS_BASE
* package/detest/byacc2.postinst: build-script
* package/debian/byacc.postinst: RCS_BASE
* package/detest/byacc.postinst: build-script
* package/debian/byacc.prerm: RCS_BASE
* package/detest/byacc.prerm: build-script
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2022-01-01 Thomas E. Dickey <dickey@invisible-island.net>
* test/run_test.sh:
adjust to ignore NetBSD's difference in getopt warnings.
* package/pkgsrc/Makefile: resync with pkgsrc
* test/yacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.c: regen
* test/expr.oxout.y, test/expr.oxout.h: fix gcc warnings
* test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: regen
* test/run_make.sh: workaround for compiling the expr.oxout.y files
* test/expr.oxout.y: fix syntax error
* test/btyacc/expr.oxout.tab.c: regen
* test/expr.oxout.h: RCS_BASE
* test/yacc/expr.oxout.tab.c: fix syntax error
* test/btyacc/expr.oxout.tab.c: regen, s/expr.oxout/expr_oxout/g
* test/btyacc/expr.oxout.tab.h: regen
* test/run_test.sh:
filter the default prefix to change "." to "_", so that the generated
files will compile consistently with run_make.sh
* package/debian/control, package/debian/prerm, package/debian/postinst:
add "byacc2" as an alternative for "yacc"
* package/byacc.spec, package/debian/control, package/debian/rules:
rename "btyacc" to "byacc2" to co-exist with traditional "btyacc" package
* package/debian/copyright, VERSION, package/byacc.spec,
package/debian/changelog, package/mingw-byacc.spec,
package/pkgsrc/Makefile:
bump
2021-12-24 Thomas E. Dickey <dickey@invisible-island.net>
* package/debian/rules: fixes from Debian package for lintian warnings
* package/debian/control: updates for Debian standard
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
* package/debian/byacc2.docs: RCS_BASE
* package/detest/byacc2.docs: build-script
* package/debian/docs, package/debian/copyright, package/debian/control:
errata from Debian package
* config.sub: 2021-12-24
From: Dmitry V. Levin <ldv@altlinux.org>
config.sub: alias aarch64le to aarch64
Apparently, QNX reports aarch64 as aarch64le on little-endian machines.
* config.sub (aarch64le-*): Set cpu to aarch64.
(timestamp): Update.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data (aarch64le-qnx): New test.
Reported-by: Elad Lahav <e2lahav@gmail.com>
Link: https://lists.gnu.org/archive/html/config-patches/2021-12/msg00009.html
2021-12-16 Thomas E. Dickey <dickey@invisible-island.net>
* configure: regen
* aclocal.m4: resync with my-autoconf
2021-12-13 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2021-10-27
From: Dmitry V. Levin <ldv@altlinux.org>
config.sub: fix typo in timestamp
* config.sub: Fix timestamp.
* doc/config.sub.1: Regenerate.
Reported-by: Jordi Sanfeliu <jordi@fibranet.cat>
Fixes: a013aac61edfa2a03727521508286480010e7bf3
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-11-30 Thomas E. Dickey <dickey@invisible-island.net>
* config.guess: 2021-11-30
From: Andreas F. Borchert <github@andreas-borchert.de>
config.guess: x86_64-pc-solaris2.11 is not properly recognized
config.guess guesses Solaris 11 to run on a 32-bit platform
despite Solaris 11 no longer supporting any 32-bit platform.
See the following code at lines 434 to 445:
| SUN_ARCH=i386
| # If there is a compiler, see if it is configured for 64-bit objects.
| # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
| # This test works for both compilers.
| if test "$CC_FOR_BUILD" != no_compiler_found; then
| if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
| (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
| grep IS_64BIT_ARCH >/dev/null
| then
| SUN_ARCH=x86_64
| fi
| fi
If "cc" is installed, i.e. the Oracle Studio compiler, this one is
chosen for $CC_FOR_BUILD. This compiler, the gcc provided by Oracle
and also gcc bootstrapped from sources on that platform with a default
configuration will by default generate 32-bit binaries -- even on
a 64-bit platform. And __amd64 will not be defined for compilations
targeting a 32-bit platform. This is different from the corresponding
behaviour on GNU/Linux systems where the local platform is targeted by
default.
Thus, as long as you do not add "-m64" or if you have a custom-built
gcc which defaults to 64 bit, you will get 32-bit binaries on Solaris
despite living on a 64-bit platform.
* config.guess (i86pc:SunOS:5.*:* || i86xen:SunOS:5.*:*): Adapt the
test by adding the "-m64" flag. This will work properly for Solaris
10 as well (the last Solaris release that supported x86 32-bit
platforms).
* doc/config.guess.1: Regenerate.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-10-27 Thomas E. Dickey <dickey@invisible-island.net>
* config.guess: 2021-10-27
From: Jordi Sanfeliu <jordi@fibranet.cat>
Recognize Fiwix
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (137 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (882 tests)
PASS: config.sub idempotency checks (819 tests)
PASS: config.sub canonicalise each config.guess testcase (137 tests)
* config.guess (i*86:Fiwix:*:*): Recognize.
* config.sub (fiwix*): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for Fiwix.
* testsuite/config-sub.data (i386-fiwix): New test.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
* config.sub: 2021-20-27
From: Jordi Sanfeliu <jordi@fibranet.cat>
Recognize Fiwix
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (137 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (882 tests)
PASS: config.sub idempotency checks (819 tests)
PASS: config.sub canonicalise each config.guess testcase (137 tests)
* config.guess (i*86:Fiwix:*:*): Recognize.
* config.sub (fiwix*): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for Fiwix.
* testsuite/config-sub.data (i386-fiwix): New test.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-10-18 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2021-08-14
From: Kinshuk Dua <kinshukdua@gmail.com>
config.sub: Fix typo in comment
Fixes: 5e531d391852a54e7fab2d8ff55625fca514b305
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-08-14 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2021-08-14
From: Nick Bowler <nbowler@draconx.ca>
config.sub: work around command assignment bug in some shells
When combining variable assignments with a shell command, some older
shells (notably heirloom-sh and presumably also Solaris 10 /bin/sh)
have a bug which causes the assignment to alter the current execution
environment whenever the command is a shell built-in. For example:
% dash -c 'x=good; x=bad echo >/dev/null; echo $x'
good
% jsh -c 'x=good; x=bad echo >/dev/null; echo $x'
bad
The config.sub script contains a few commands of the form:
IFS=- read ...
which triggers this bug, causing the IFS assignment to persist for the
remainder of the script. This can cause misbehaviour in certain cases,
for example:
% jsh config.sub i386-linux-gnu
config.sub: test: unknown operator gnu
% jsh config.sub i386-gnu/linux
sed: can't read s|gnu/linux|gnu|: No such file or directory
Invalid configuration `i386-gnu/linux': OS `' not recognized
* config.sub: Save and restore IFS explicitly to avoid shell bugs.
* doc/config.sub.1: Regenerate.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-08-08 Thomas E. Dickey <dickey@invisible-island.net>
* reader.c:
fix memory-leak when replacing $$'s in destructor code (report/testcase
by Boris Kolpackov).
* main.c: account for a memory-leak
* test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
test/btyacc/calc_code_default.tab.c,
test/btyacc/calc_code_imports.tab.c,
test/btyacc/calc_code_provides.tab.c,
test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c,
test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c,
test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c,
test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c,
test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c,
test/yacc/calc_code_provides.tab.c,
test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
test/yacc/defines1.calc.c, test/yacc/defines2.calc.c,
test/yacc/defines3.calc.c, test/yacc/empty.tab.c,
test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c,
test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c,
test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c,
test/yacc/varsyntax_calc1.tab.c, btyaccpar.c, yaccpar.c:
regen
* btyaccpar.skel, yaccpar.skel:
revert change to initialization of yystate, which confuses gcc, making a
different warning
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2021-08-04 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2021-08-04
From: Jeremy Soller <jackpot51@gmail.com>
config.sub: add Linux Relibc Target
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (136 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (881 tests)
PASS: config.sub idempotency checks (818 tests)
PASS: config.sub canonicalise each config.guess testcase (136 tests)
* config.sub (relibc*): Recognize.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data (x86_64-linux-relibc): New test.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-08-02 Thomas E. Dickey <dickey@invisible-island.net>
* main.c, yacc.1: add "-h" option
* yacc.1: fix date
* test/btyacc/no_b_opt.error, test/btyacc/no_output2.error,
test/btyacc/no_p_opt.error, test/btyacc/big_b.error,
test/btyacc/big_l.error, test/btyacc/help.error,
test/btyacc/nostdin.error, test/yacc/big_b.error,
test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error,
test/yacc/no_output2.error, test/yacc/no_p_opt.error,
test/yacc/nostdin.error:
regen
* main.c:
map any of bison's long-options which have a corresponding yacc option
into the latter, without depending upon getopt_long().
* main.c: suggested patch:
From: Boris Kolpackov <boris@codesynthesis.com>
Subject: Re: [PATCH] support bison's --defines and --output options in byacc
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2021-08-01 Thomas E. Dickey <dickey@invisible-island.net>
* test/btyacc/inherit2.tab.c, test/btyacc/btyacc_destroy2.tab.c,
test/btyacc/btyacc_destroy3.tab.c, test/btyacc/err_inherit3.tab.c,
test/btyacc/err_inherit4.tab.c, test/btyacc/btyacc_demo.tab.c,
test/btyacc/btyacc_destroy1.tab.c:
regen
* output.c:
fix a misplaced #line, which was after a generated line in the code-file
* test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax18.tab.c,
test/yacc/err_syntax20.tab.c, test/yacc/expr.oxout.tab.c,
test/yacc/grammar.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c,
test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c,
test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c,
test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
test/yacc/code_calc.code.c, test/yacc/defines1.calc.c,
test/yacc/defines2.calc.c, test/yacc/defines3.calc.c,
test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c:
regen
* output.c:
add a state-machine to output_semantic_actions() to detect and replace
the "#line" directives added by Roland Illig's change, making them show
the actual line-numbers in the code-file.
* test/btyacc/pure_calc.tab.c, test/btyacc/quote_calc-s.tab.c,
test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c,
test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c,
test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c,
test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
test/btyacc/calc_code_default.tab.c,
test/btyacc/calc_code_imports.tab.c,
test/btyacc/calc_code_provides.tab.c,
test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
test/btyacc/code_calc.code.c, test/btyacc/defines1.calc.c,
test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c,
test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c:
regen
* reader.c:
Modify output_semantic_actions to emit #line directives which correspond to
the code-file (adapted from a patch by Roland Illig).
* reader.c: simplify an ifdef so I can balance {/}
* output.c: use new macro
* defs.h: add fprintf_lineno macro
* reader.c:
make that a little simpler - but I see that this should be using the
code-file's line-numbering rather than ""
* reader.c:
make that into a macro, and add a begin_case() to more/less match (the
#line's are not together in some btyacc cases...)
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
2021-07-14 Thomas E. Dickey <dickey@invisible-island.net>
* reader.c: From: Roland Illig <roland.illig@gmx.de>
Subject: small patch for byacc
...
this splits up "\nbreak;\n" output to put #line directives after first "\n"
2021-07-06 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2021-07-06
From: Stephanos Ioannidis <root@stephanos.io>
config.sub: add Zephyr RTOS support
This adds the Zephyr RTOS targets in preparation for implementing the
Zephyr RTOS-specific toolchain support.
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (136 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (880 tests)
PASS: config.sub idempotency checks (817 tests)
PASS: config.sub canonicalise each config.guess testcase (136 tests)
* config.sub (zephyr*): Recognize.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data: Add testcases for *-zephyr.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-07-03 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2021-07-03
From: Ozkan Sezer <sezero@users.sourceforge.net>
config.sub: disable shellcheck SC2006 / SC2268 warnings
This is in line with the recent config.guess change in commit
12fcf67c9108f4c4b581eaa302088782f0ee40ea
* config.sub (shellcheck disable): Add SC2006,SC2268.
Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
* config.sub: 2021-07-03
From: Ozkan Sezer <sezero@users.sourceforge.net>
config.sub: normalize the quoting in the `echo FOO | sed ...`
Some cases quote the argument to echo and some do not. At runtime
it probably does not matter because the substituted values will never
contain whitespace, but quoting them all would make shellcheck more
useful.
* config.sub: Consistently quote the argument of echo.
* doc/config.sub.1: Regenerate.
Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-07-02 Thomas E. Dickey <dickey@invisible-island.net>
* config.sub: 2021-06-03
From: Ozkan Sezer <sezero@users.sourceforge.net>
config.sub: replace POSIX $( ) with classic ` ` throughout
This is in line with the recent config.guess change in commit
d70c4fa934de164178054c3a60aaa0024ed07c91.
The patch was generated using patch-6.gawk script introduced in that
commit.
* config.sub: Revert POSIX command substitutions to classic form.