forked from akimd/bison
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog-1998
1500 lines (926 loc) · 45.7 KB
/
ChangeLog-1998
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
1998-01-04 J.J. van der Heijden <[email protected]>
* src/files.c (openfiles) [_WIN32 && !__CYGWIN32__]: Use TEMP or
Temp to find a temporary directory, if possible. Do not unlink
files while they are open.
1997-08-25 Richard Stallman <[email protected]>
* src/reader.c (stack_offset;): Change some warni to warns.
* src/lex.c (literalchar): Use warns, not warni.
1997-06-28 Richard Stallman <[email protected]>
* src/bison.simple: Add a Bison version comment.
* Makefile.in (bison_version): New variable.
(dist): Use that variable.
(bison.s1): Substitute the Bison version into bison.simple.
* src/main.c (fatal, warn, berror): Use program_name.
1997-06-18 Richard Stallman <[email protected]>
* Makefile.in: new.h renamed to alloc.h.
* src/*.c: src/new.h renamed to src/alloc.h.
* src/alloc.h: Renamed from src/new.h.
1997-06-15 Richard Stallman <[email protected]>
* src/main.c (fatal, warn, berror): Make error messages standard.
(toomany): Improve error message text.
1997-05-24 Richard Stallman <[email protected]>
* src/lex.c (literalchar): Fix the code for escaping \, " and '.
1997-05-23 Richard Stallman <[email protected]>
* src/lex.c (lex): Avoid trouble when there are many chars
to discard in a char literal with just several chars in it.
1997-05-17 Richard Stallman <[email protected]>
* src/bison.simple: Use malloc, if using alloca is troublesome.
(YYSTACK_USE_ALLOCA): New flag macro.
Define it for some systems and compilers.
(YYSTACK_ALLOC): New macro.
(yyparse): Use YYSTACK_ALLOC to allocate stack.
If it was malloc'd, free it.
1997-05-02 Richard Stallman <[email protected]>
* src/bison.simple [_AIX]: Don't include malloc.h.
1997-04-23 Richard Stallman <[email protected]>
* src/bison.simple (alloca) [__hpux]: Always define as
__builtin_alloca.
1997-04-22 Richard Stallman <[email protected]>
* src/bison.simple (__yy_memcpy): Declare arg `count' as unsigned
int.
(yyparse): Cast third arg to __yy_memcpy to unsigned int.
* src/bison.simple (alloca) [__hpux]: Include alloca.h (right for
HPUX 10) instead of declaring alloca (right for HPUX 9).
1997-01-02 Richard Stallman <[email protected]>
* src/allocate.c [__STDC__ or _MSC_VER]:
Declare calloc and realloc to return void *.
* Makefile.in (dist): Explicitly check for symlinks, and copy them.
1996-12-17 Paul Eggert <[email protected]>
* src/bison.simple (yyparse): If __GNUC__ and YYPARSE_PARAM are
both defined, declare yyparse to have a void * argument.
1996-12-17 Richard Stallman <[email protected]>
* src/system.h [_MSC_VER]: Include stdlib.h and process.h.
[_MSC_VER] (getpid): Define as macro--translate it to _getpid.
* src/reduce.c (nbits): Add some casts.
* src/main.c (main): Return FAILURE as a value.
(printable_version): Declare arg as int, not char.
* src/files.c [_MSC_VER] (XPFILE, XPFILE1): Define, if not already
defined.
1996-12-16 Richard Stallman <[email protected]>
* src/main.c (printable_version): Use type `int' for the arg.
1996-08-12 Richard Stallman <[email protected]>
* src/bison.simple: Test _MSDOS as well as _MSDOS_.
1996-07-31 Richard Stallman <[email protected]>
* src/bison.simple [__sun && __i386]: Include alloca.h.
1996-07-30 Richard Stallman <[email protected]>
* src/bison.simple: Test _MSDOS_, not MSDOS.
1996-06-01 Richard Stallman <[email protected]>
* All files: Insert `_' macro around many string constants.
* src/system.h [HAVE_LOCALE_H]: Include locale.h.
[! HAVE_LOCALE_H] (setlocale): Define as no-op.
[ENABLE_NLS]: Include libintl.h.
[ENABLE_NLS] (gettext): Define.
[! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
(N_, PACKAGE, LOCALEDIR): New macros.
* src/main.c (main): Call setlocale, bindtextdomain and textdomain.
* POTFILES.in: New file.
* Makefile.in (allocate.o): Define target explicitly.
1996-06-01 Jim Meyering <[email protected]>
* Makefile.in (CFLAGS): Set to @CFLAGS@.
(LDFLAGS): Set to @LDFLAGS@.
(configure): Run autoconf only if preceding `cd' succeeds.
(src/bison.s1): Redirect output to temporary file then move the
temporary to the target, rather than redirecting directly to
src/bison.s1.
(clean): Remove config.status and config.log.
(distclean): Don't remove config.status here.
1996-05-12 Jim Meyering <[email protected]>
* src/bison.simple (__yy_memcpy) [__cplusplus]: Reorder declarations
of variables f and t.
1996-05-11 Richard Stallman <[email protected]>
* Version 1.25 released.
* Makefile.in (dist): Don't use $(srcdir).
* src/bison.simple (__yy_memcpy): Really reorder the args, as was
supposedly done on Feb 14 1995.
(yyparse): Calls changed accordingly.
1996-01-24 Richard Stallman <[email protected]>
* src/output.c (output_rule_data): Test YYERROR_VERBOSE in the
conditional around the definition of ttyname.
1995-12-28 Richard Stallman <[email protected]>
* src/bison.simple: Fix line numbers in #line commands.
1995-12-24 Richard Stallman <[email protected]>
* src/bison.simple (YYPARSE_PARAM_DECL): In C++, make it always
null.
(YYPARSE_PARAM_ARG): New macro.
(yyparse): Use YYPARSE_PARAM_ARG.
1995-10-15 Richard Stallman <[email protected]>
* src/version.c: Version now 1.25.
* src/main.c (warn): Set `failure'.
1995-08-01 Wilfred J. Hansen <[email protected]>
* src/bison.cld, src/getargs.c, src/vmsgetargs.c: Added -n, -k,
and -raw switches.
(noparserflag, toknumflag, rawtoknumflag): New variables.
* src/conflicts.c (resolve_sr_conflict): Remove use of alloca.
* src/files.c (openfiles, open_extra_files, done): Add faction flag
and actfile file. Handle noparserflag. Both for -n switch.
* src/lex.c: Include getopt.h. Add some extern decls.
(safegetc): New function to deal with EOF gracefully.
(literalchar); new function to deal with reading \ escapes.
(lex): Use literalchar.
(lex): Implemented "..." tokens.
(literalchar, lex, parse_percent_token): Made tokenbuffer
always contain the token. This includes growing the token
buffer while reading an integer.
(parse_percent_token): Replaced if-else statement with percent_table.
(parse_percent_token): Added % declarations as another
way to specify the flags -n, -l, and -r. Also added hooks for
-d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
major changes to src/files.c.
(lex) Retain in the incoming stream a character following
an incorrect '/'.
(skip_white_space, lex): Revised most error messages
and changed fatal to warn to avoid aborting.
(percent_table): Added %thong declarations.
* src/lex.h: Added THONG and NOOP for alias processing.
Added SETOPT for the new code that allows setting options with %flags.
* src/main.c (main): If reader sees an error, don't process the
grammar.
(fatals): Updated to not use VARARGS1.
(printable_version, int_to_string, warn, warni, warns, warnss)
(warnsss): New error reporting functions. Avoid abort for error.
* src/output.c (output_headers, output_trailers, output, output_gram)
(output_rule_data): Implement noparserflag variable.
Implement toknumflag variable.
(output): Call reader_output_yylsp to output LTYPESTR.
* src/reader.c (reader_output_yylsp): New function.
(readgram): Use `#if 0' around code that accepted %command inside
grammar rules: The documentation doesn't allow it, and it will
fail since the %command processors scan for the next %.
(parse_token_decl): Extended the %token declaration to allow a
multi-character symbol as an alias.
(parse_thong_decl): New function.
(read_declarations): Added %thong declarations.
(read_declarations): Handle NOOP to deal with allowing %
declarations as another means to specify the flags.
(readgram): Allow %prec prior to semantics embedded in a rule.
(skip_to_char, read_declarations, copy_definition)
(parse_token_decl, parse_start_decl, parse_type_decl)
(parse_assoc_decl, parse_union_decl, parse_expect_decl)
(get_type_name, copy_guard, copy_action, readgram)
(get_type, packsymbols): Revised most error messages. Changed
`fatal' to `warnxxx' to avoid aborting for error. Revised and use
multiple warnxxx functions to avoid using VARARGS1.
(read_declarations): Improve the error message for an invalid
character. Do not abort.
(read_declarations, copy_guard, copy_action): Use
printable_version to avoid unprintable characters in printed
output.
(parse_expect_decl): Error if argument to %expect exceeds 10
digits.
(parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
Allow the type of a non-terminal can be given more than once, as
long as all specifications give the same type.
* src/reduce.c (reduce_grammar): Revise an error message.
(print_notices): Remove final `.' from error message.
* src/symtab.h (SALIAS): New #define for adding aliases to %token.
(struct bucket): Added `alias' field.
1995-05-03 Richard Stallman <[email protected]>
* src/bison.simple: Change distribution terms.
* src/version.c: Version now 1.23. No, 1.24.
1995-02-23 Richard Stallman <[email protected]>
* src/files.c: Test __VMS_POSIX as well as VMS.
1995-02-14 Jim Meyering <[email protected]>
* src/bison.simple (__yy_memcpy): Renamed from __yy_bcopy to avoid
confusion. Reverse FROM and TO arguments to be consistent with
those of memcpy.
1994-11-10 David J. MacKenzie <[email protected]>
* Makefile.in (DISTFILES): Include install-sh, not install.sh.
Include NEWS.
* configure.in: Update to Autoconf v2 macro names.
1994-10-04 David J. MacKenzie <[email protected]>
* Makefile.in (prefix, exec_prefix): Let configure set them.
1994-09-28 David J. MacKenzie <[email protected]>
* Makefile.in: Set datadir to $(prefix)/share.
1994-07-12 Richard Stallman <[email protected]>
* src/reader.c (reader): Rename undefined-token token to
`$undefined.'.
1994-05-05 David J. MacKenzie <[email protected]>
* Makefile.in (DISTFILES): Add install.sh.
(install): Remove chmod commands.
1994-03-26 Richard Stallman <[email protected]>
* src/bison.simple: Fix #line commands.
1994-03-24 Richard Stallman <[email protected]>
* src/conflicts.c (print_reductions): Increment both fp1 and fp2
while printing reductions in multi-rule case.
1994-01-02 Richard Stallman <[email protected]>
* Makefile.in (LDFLAGS): Make it empty by default.
(bison): Use CFLAGS.
1993-11-21 Richard Stallman <[email protected]>
* src/bison.simple (YYLEX): Take notice of YYLEX_PARAM.
1993-10-18 Richard Stallman <[email protected]>
* src/bison.simple (YYPARSE_PARAM_DECL): Always define this.
1993-10-14 Richard Stallman <[email protected]>
* src/bison.simple (yyparse): Support YYPARSE_PARAM.
1993-09-13 Noah Friedman <[email protected]>
* Makefile.in (check): New target.
1993-09-10 Richard Stallman <[email protected]>
* src/conflicts.c (alloca): #undef before defining.
* src/system.h (bcopy): Don't define if already defined.
1993-09-06 Noah Friedman <[email protected]>
* Version 1.22 released.
* mkinstalldirs: New file.
* Makefile.in (dist): Use .gz for extension, not .z.
(DISTFILES): New variable.
(dist): Use it instead of explicit file list.
Try to link each file separately, then copy file if ln fails.
(installdirs): Use mkinstalldirs script.
1993-07-29 David J. MacKenzie <[email protected]>
* Makefile.in (config.status): Run config.status --recheck, not
configure, to get the right args passed.
1993-07-24 Richard Stallman <[email protected]>
* src/bison.simple (yyparse): Init yychar1 to avoid warning.
1993-07-04 Richard Stallman <[email protected]>
* src/bison.simple (yyparse): Don't set yyval when yylen is 0.
1993-06-26 David J. MacKenzie <[email protected]>
* src/getargs.c (getargs): Exit after printing the version number.
Add --help and -h options.
(usage): New function.
1993-06-25 Richard Stallman <[email protected]>
* src/getargs.c (longopts): Allow `output' as an alternative.
1993-06-16 Richard Stallman <[email protected]>
* src/bison.simple (yyparse): Conditionalize the entire call to
yyoverflow, not just two arguments in it.
1993-06-03 Richard Stallman <[email protected]>
* src/bison.simple [__hpux] (alloca): Don't specify arg types.
1993-05-07 Noah Friedman <[email protected]>
* Makefile.in (install): Depend on `uninstall' and `installdirs'.
(installdirs): New target.
1993-04-28 Noah Friedman <[email protected]>
* src/reader.c: Remove declaration of atoi.
1993-04-23 Noah Friedman <[email protected]>
* src/new.h [!__STDC__] (FREE): Check x != 0.
Make expr to call `free' evaluate to 0.
1993-04-20 David J. MacKenzie <[email protected]>
* src/files.c [MSDOS]: Use xmalloc, not malloc.
* src/allocate.c (xmalloc): Renamed from mallocate. Remove old
wrapper.
* src/conflicts.c, src/symtab.c, src/files.c, src/LR0.c,
src/new.h: Change callers.
* src/allocate.c (xrealloc): New function.
* src/new.h: Declare it.
* src/lex.c, src/reader.c: Use it.
1993-04-18 Noah Friedman <[email protected]>
* Version 1.21 released.
* src/reader.c : Don't declare `realloc'.
* Makefile.in (bison.s1): use `rm -f' since it's quieter.
(dist): make gzipped tar file.
1993-04-16 Noah Friedman <[email protected]>
* Makefile.in (Makefile, config.status, configure): New targets.
1993-04-15 Richard Stallman <[email protected]>
* src/main.c: Don't declare `abort'.
* src/files.c: Don't declare `exit'.
1993-04-15 Noah Friedman <[email protected]>
* configure.in: Add AC_CONST.
1993-04-14 Richard Stallman <[email protected]>
* Makefile.in (all): Depend on bison.s1.
1993-04-13 Richard Stallman <[email protected]>
* Version 1.20 released.
1993-03-24 Richard Stallman <[email protected]>
* src/output.c (output_headers): Rename yynerrs if -p.
1993-03-18 Noah Friedman <[email protected]>
* src/system.h: Don't try to include stdlib.h unless HAVE_STDLIB_H
is defined.
* configure.in: Check for stdlib.h.
1993-03-17 Richard Stallman <[email protected]>
* src/bison.simple [__hpux, not __GNUC__]: Declare alloca.
(yyparse): When printing the expected token types for an error,
Avoid negative indexes in yycheck and yytname.
1993-03-13 Richard Stallman <[email protected]>
* Makefile.in (files.o, .c.o): Put CPPFLAGS and CFLAGS last.
1993-03-01 Richard Stallman <[email protected]>
* src/bison.simple: Test __sgi like __sparc.
1993-02-17 Richard Stallman <[email protected]>
* src/conflicts.c (resolve_sr_conflict): Add extra parens in
alloca call.
* src/bison.simple [__GNUC__] (yyparse): Declare with prototype.
1993-01-15 Richard Stallman <[email protected]>
* src/conflicts.c (print_reduction): Near end, increment fp2 when
mask recycles.
1993-01-13 Richard Stallman <[email protected]>
* Makefile.in (bison.s1): New target. Modifies bison.simple.
(install): Install bison.s1, without changing it.
(clean): Delete bison.s1.
1993-01-04 Richard Stallman <[email protected]>
* src/reader.c (reader): Put Bison version in comment in output
file.
1992-12-22 Richard Stallman <[email protected]>
* src/files.c (openfiles): Use .output, not .out, for outfile,
regardless of spec_name_prefix.
1992-12-15 Richard Stallman <[email protected]>
* src/output.c (output_gram): Include yyrhs in the same #if as
yyprhs.
1992-12-15 Noah Friedman <[email protected]>
* src/output.c (output): output directives checking for
__cplusplus as well as __STDC__ to determine when to define
"const" as an empty token. (Patch from Wolfgang Glunz
1992-12-08 David J. MacKenzie <[email protected]>
* src/system.h, src/conflicts.c: Replace USG with HAVE_STRING_H
and HAVE_MEMORY_H.
1992-11-21 David J. MacKenzie <[email protected]>
* Makefile.in: Set and use $(MAKEINFO).
1992-11-20 Richard Stallman <[email protected]>
* src/files.c (done) [MSDOS]: Delete the tmpdefsfile with the
rest.
1992-10-08 Richard Stallman <[email protected]>
* Makefile.in (dist): Put configure.bat in the distribution.
1992-10-01 David J. MacKenzie <[email protected]>
* Makefile.in (install): cd to $(srcdir) before installing info
files.
1992-09-30 Richard Stallman <[email protected]>
* Makefile.in (files.o): Supply $(DEFS), and $(CPPFLAGS).
1992-09-25 Richard Stallman <[email protected]>
* Version 1.19 released.
* src/reader.c (parse_union_decl): Fix ending of C++ comment;
don't lose the char after the newline.
* configure.bat: New file.
1992-09-24 Richard Stallman <[email protected]>
* src/conflicts.c: Check for using alloca.h as getopt.c does.
1992-09-06 Karl Berry <karl@hayley>
* src/files.c (openfiles): open `fdefines' after we have assigned
a name to `tmpdefsfile', and only if `definesflag' is set.
(done): only create the real .tab.h file if `definesflag' is set.
* src/reader.c (packsymbols): don't close `fdefines' here.
1992-09-05 Richard Stallman <[email protected]>
* src/files.c (openfiles): Open fdefines as temp file, like
ftable.
(done): Copy temp defines file to real one, like main output file.
1992-08-21 Richard Stallman <[email protected]>
* Makefile.in (dist): Don't release mergedir.awk
(install): Use sed, not awk. Don't depend on mergedir.awk.
* mergedir.awk: File effectively deleted.
1992-07-29 Richard Stallman <[email protected]>
* src/bison.simple: Test __sparc along with __sparc__.
1992-07-11 Richard Stallman <[email protected]>
* src/lex.c (skip_white_space): Count \n just once at end of c++
comment.
1992-06-26 Richard Stallman <[email protected]>
* src/bison.simple: Comment fix; #line command updated.
1992-06-24 Richard Stallman <[email protected]>
* Makefile.in (install): Specify full new file name for the
executable.
1992-06-22 Richard Stallman <[email protected]>
* Makefile.in (dist): Include bison.rnh in distribution.
Sun Jun 21 22:42:13 1992 Eric Youngdale <[email protected]>
Clean up rough edges in VMS port of bison, add support for
remaining command line options.
* src/bison.cld: Add /version, /yacc, /file_prefix, and
/name_prefix switches.
* src/build.com: General cleanup: add logic to automatically sense
which C compiler is present; add code to cwd to the directory that
contains bison sources; do not define XPFILE, XPFILE1
(correct defaults are applied in src/file.c).
* src/files.c: Append _tab, not .tab when using /file_prefix under
VMS.
* src/system.h: Include string.h instead of strings.h (a la USG).
* src/vmsgetargs.c: Add support for all switches added to
src/bison.cld.
1992-06-21 Richard Stallman <[email protected]>
* Makefile.in (install): Always specify new file name for install.
Redirect awk output to temp file and install that.
1992-05-27 Richard Stallman <[email protected]>
* src/bison.simple (yyparse): Make yybackup and yyerrlab1 always
be used.
1992-05-22 Richard Stallman <[email protected]>
* Makefile.in (dist): Depend on bison.info
(bison.info): Delete spurious <.
1992-05-17 Richard Stallman <[email protected]>
* Makefile.in (.c.o): New rule. Use $(DEFS) directly.
(CFLAGS): Use just -g by default.
(CDEBUG): Variable deleted.
1992-05-07 Richard Stallman <[email protected]>
* src/reader.c (copy_guard): Fix typo skipping comment.
1992-05-04 Richard Stallman <[email protected]>
* Version 1.18.
* src/getargs.c (getargs): Change '0' to 0 in case for long
options.
1992-04-19 Richard Stallman <[email protected]>
* src/reader.c (packsymbols): Handle -p when declaring yylval.
1992-04-18 Richard Stallman <[email protected]>
* src/output.c (output_gram): Output #endif properly at end of
decl.
1992-03-30 Richard Stallman <[email protected]>
* Version 1.17.
* Makefile.in (clean): Don't delete configuration files or TAGS.
(distclean): New target; do delete those.
1992-03-28 Richard Stallman <[email protected]>
* src/output.c (output_gram): Conditionalize yyprhs on YYDEBUG.
* src/LR0.c (augment_automaton): If copying sp->shifts to insert
new shift, handle case of inserting at end.
1992-03-21 Richard Stallman <[email protected]>
* src/lex.c (skip_white_space): Handle C++ comments.
* src/reader.c (copy_definition, parse_union_decl, copy_guard):
(copy_action): Likewise.
1992-03-08 Richard Stallman <[email protected]>
* src/bison.simple (YYPOPSTACK): Fix typo.
1992-02-29 Richard Stallman <[email protected]>
* Makefile.in (install): Install bison.info* files one by one.
1992-02-28 David J. MacKenzie <[email protected]>
* src/bison.1: Document long options as starting with `--', not
`+'.
1992-02-01 Richard Stallman <[email protected]>
* src/getargs.c (getargs): Accept value 0 from getopt_long.
1992-01-30 Richard Stallman <[email protected]>
* Makefile.in (mostlyclean): Renamed from `clean'.
(clean): Renamed from 'distclean'. Dep on mostlyclean, not
realclean.
(realclean): Dep on clean.
1992-01-27 Richard Stallman <[email protected]>
* src/bison.simple: Use malloc, not xmalloc, and handle failure
explicitly.
1992-01-26 Richard Stallman <[email protected]>
* src/conflicts.c (total_conflicts): Delete unused arg to fprintf.
1992-01-21 Richard Stallman <[email protected]>
* Version 1.16.
1992-01-06 Richard Stallman <[email protected]>
* Makefile (distclean): Depend on clean, not realclean. Don't rm
TAGS.
(realclean): rm TAGS here.
* src/symtab.c (free_symtab): Don't free the type names.
1991-12-29 Richard Stallman <[email protected]>
* src/machine.h: MSDOS has 32-bit ints if __GO32__.
1991-12-25 David J. MacKenzie <[email protected]>
* src/bison.simple [_AIX]: Indent `#pragma alloca', so old C
compilers don't choke on it.
1991-12-23 Richard Stallman <[email protected]>
* src/getopt.c, src/getopt1.c, src/getopt.h: Link them to standard
source location.
* src/alloca.c: Likewise.
* Makefile.in (dist): Copy those files from current dir.
* src/getargs.c: Update usage message.
* src/LR0.c (augment_automaton): Put new shift in proper order.
1991-12-20 Richard Stallman <[email protected]>
* src/conflicts.c: Use memcpy if ANSI C library.
* src/closure.c (set_fderives): Delete redundant assignment to
vrow.
* src/closure.c (print_firsts): Fix bounds and offset checking
tags.
* src/closure.c (tags): Declare just once at start of file.
* src/LR0.c (allocate_itemsets): Eliminate unused var max.
(augment_automaton): Test sp is non-null.
* src/lalr.c (initialize_LA): Make the vectors at least 1 element
long.
* src/reader.c (readgram): Remove separate YYSTYPE default for
MSDOS.
1991-12-18 Richard Stallman <[email protected]>
* src/print.c (print_grammar): Don't print disabled rules.
1991-12-17 Richard Stallman <[email protected]>
* src/lex.c (lex): Parse hex escapes properly.
Handle \v when filling token_buffer.
* src/lex.c: Include new.h.
(token_buffer): Change to a pointer.
(init_lex): Allocate initial buffer.
(grow_token_buffer): New function.
(lex, parse_percent_token): Use that.
* src/reader.c (read_declarations): Call open_extra_files just
once.
(parse_token_decl): Don't free previous typename value. Don't
increment nvars if symbol is already a nonterminal.
(parse_union_decl): Catch unmatched close-brace.
(parse_expect_decl): Null-terminate buffer.
(copy_guard): Set brace_flag for {, not for }.
* src/reader.c: Fix %% in calls to fatal.
* src/reader.c (token_buffer): Just one extern decl, at top level.
Declare as pointer.
* src/symtab.c (free_symtab): Free type_name fields. Free symtab
itself.
1991-11-25 Richard Stallman <[email protected]>
* src/bison.simple: Handle alloca for AIX.
* Makefile.in (mandir): Compute default using manext.
1991-11-02 David J. MacKenzie <[email protected]>
* Update all files to GPL version 2.
1991-09-06 Richard Stallman <[email protected]>
* src/bison.simple (__yy_bcopy): Use builtin if GCC version 2.
1991-08-26 Richard Stallman <[email protected]>
* src/reader.c (parse_assoc_decl): Error if same symbol gets two
precs.
1991-08-26 David J. MacKenzie <[email protected]>
* Makefile.in, configure: Only put $< in Makefile if using VPATH,
because older makes don't understand it.
1991-08-23 David J. MacKenzie <djm@apple-gunkies>
* src/conflicts.c [_AIX]: #pragma alloca.
* src/reduce.c: Don't define TRUE and FALSE if already defined.
1991-08-12 Richard Stallman <[email protected]>
* Makefile.in: Add deps on system.h.
(install): Add some deps.
1991-08-02 David J. MacKenzie <djm@apple-gunkies>
* Makefile.in (dist): Include texinfo.tex.
* configure: Create config.status. Remove it and Makefile if
interrupted while creating them.
1991-08-01 David J. MacKenzie <djm@apple-gunkies>
* configure: Check for +srcdir etc. arg and look for
Makefile.in in that directory. Set VPATH if srcdir is not `.'.
* Makefile.in (prefix): Renamed from DESTDIR.
1991-07-31 Richard Stallman <[email protected]>
* src/print.c (print_grammar): Make output prettier. Break lines.
1991-07-30 Richard Stallman <[email protected]>
* src/print.c (print_grammar): New function.
(verbose): Call it instead of printing token names here.
1991-07-22 Richard Stallman <[email protected]>
* src/vmsgetargs.c (spec_name_prefix, spec_file_prefix): Define
variables.
1991-07-10 David J. MacKenzie <[email protected]>
* configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL),
$(INSTALLTEXT) -> $(INSTALLDATA).
1991-07-09 David J. MacKenzie <[email protected]>
* src/bison.simple: Don't include malloc.h if __TURBOC__.
1991-07-06 David J. MacKenzie <[email protected]>
* Replace Makefile with configure and Makefile.in. Update README
with current compilation instructions.
1991-07-01 Richard Stallman <[email protected]>
* src/reader.c (reader): Make the output define YYBISON.
1991-06-20 David J. MacKenzie <[email protected]>
* Makefile (MANDIR, MANEXT): Install man page in
/usr/local/man/man1/bison.1 by default, instead of
/usr/man/manl/bison.l, for consistency with other GNU programs.
* Makefile: Rename BINDIR et al. to lowercase to conform to
GNU coding standards.
(install): Make man page non-executable.
1991-05-31 Richard Stallman <[email protected]>
* Makefile (bison.info): New target.
(realclean): New target.
1991-05-02 Richard Stallman <[email protected]>
* src/bison.simple: Use YYPRINT to print a token, if it's defined.
1991-04-29 Richard Stallman <[email protected]>
* src/lalr.c (transpose): Rename R to R_arg.
(initialize_LA): Avoid shadowing variable j.
* src/reader.c (packsymbols): Avoid shadowing variable i.
* src/files.c: Declare exit and perror.
* src/machine.h: Define MAXSHORT and MINSHORT for the eta-10.
1991-04-02 Richard Stallman <[email protected]>
* src/allocate.c (mallocate): Always allocate at least one byte.
1991-03-19 Richard Stallman <[email protected]>
* Makefile (dist): Put alloca.c into distribution.
1991-03-06 Richard Stallman <[email protected]>
* src/print.c (print_actions): Nicer output for final states.
1991-02-21 Richard Stallman <[email protected]>
* src/output.c (output_rule_data): Break lines in yytline based on
hpos.
1991-02-07 Richard Stallman <[email protected]>
* src/bison.simple (yyparse): Move decl of yylsa before use.
1991-01-15 Richard Stallman <[email protected]>
* Version 1.14.
* src/output.c (output_rule_data): Handle NULL in tags[i].
1991-01-11 Richard Stallman <[email protected]>
* src/bison.simple: On MSDOS, include malloc.h.
1990-12-29 David J. MacKenzie <[email protected]>
* src/files.c: Use `mallocate' instead of `xmalloc' so no extra
decl is needed.
1990-12-19 Richard Stallman <[email protected]>
* src/reader.c (readgram): Alternate YYSTYPE defn for MSDOS.
* src/files.c [MSDOS]: Declare xmalloc.
1990-12-13 Richard Stallman <[email protected]>
* src/output.c (output_rule_data): Put all symbols in yytname.
* src/bison.simple (yyparse): Delete extra fprintf arg
when printing a result of reduction.
1990-12-10 Richard Stallman <[email protected]>
* src/reader.c (packsymbols): Don't declare yylval if pure_parser.
1990-10-30 Richard Stallman <[email protected]>
* Version 1.12.
* src/LR0.c (augment_automaton): Fix bugs adding sp2 to chain of
shifts.
1990-10-23 Richard Stallman <[email protected]>
* src/bison.simple: Don't define alloca if already defined.
1990-10-21 Richard Stallman <[email protected]>
* src/getopt.c: On VMS, use string.h.
* src/main.c (main): Return type int.
1990-09-10 Richard Stallman <[email protected]>
* src/output.c (output_headers): Output macro defs for -p.
* src/reader.c (readgram): Handle consecutive actions.
* src/getargs.c (getargs): Rename -a to -p.
* src/files.c (openfiles): Change names used for -b.
1990-08-27 Richard Stallman <[email protected]>
* src/reduce.c (reduce_grammar_tables): Don't map rlhs of disabled
rule.
1990-08-26 Richard Stallman <[email protected]>
* src/closure.c (print_firsts, print_fderives): Use BITISSET to
test bits.
1990-08-23 Richard Stallman <[email protected]>
* src/closure.c (print_firsts): vrowsize => varsetsize.
(print_fderives): rrowsize => rulesetsize.
1990-08-10 Richard Stallman <[email protected]>
* src/bison.simple (alloca): Don't define if already defined.
(__yy_bcopy): Alternate definition for C++.
1990-07-11 David J. MacKenzie <[email protected]>
* src/getargs.c (getargs): Mention +yacc in usage message.
1990-07-10 Richard Stallman <[email protected]>
* src/reader.c (parse_token_decl, copy_action): Set
value_components_used if appropriate.
(readgram): Inhibit output of YYSTYPE definition in that case.
1990-06-30 Richard Stallman <[email protected]>
* src/output.c (output_parser): Define YYPURE if pure, and not
otherwise. Don't define YYIMPURE.
* src/bison.simple: Adjust conditionals accordingly.
* src/bison.simple (YYLEX): If locations not in use, don't pass
&yylloc.