]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/getargs.c (AS_FILE_NAME): New.
[bison.git] / ChangeLog
CommitLineData
ae404801
AD
12002-01-08 Akim Demaille <akim@epita.fr>
2
3 * src/getargs.c (AS_FILE_NAME): New.
4 (getargs): Use it to convert DOSish file names.
5 * src/files.c (base_name): Rename as full_base_name to avoid
6 clashes with `base_name ()'.
7 (filename_split): New.
8 (compute_base_names): N-th rewrite, using filename_split.
9
22312b71
AD
102002-01-08 Akim Demaille <akim@epita.fr>
11
12 * lib/basename.c, lib/dirname.h, lib/dirname.c, lib/memrchr.c:
13 New, stolen from the Fileutils 4.1.
14 * lib/Makefile.am (libbison_a_SOURCES): Adjust.
15 * configure.in: Check for the presence of memrchr, and of its
16 prototype.
17
a67cef01
TVH
182002-01-07 Tim Van Holder <tim.van.holder@pandora.be>
19
20 * lib/hash.h (__P): Added definition for this macro.
21 * src/Makefile.am: Add parse-skel.c and scan-skel.c to
22 BUILT_SOURCES, to ensure they are generated first.
23 * src/parse-skel.y: Use YYERROR_VERBOSE instead of
24 %error-verbose to allow bootstrapping with bison 1.30x.
25
2b25d624
AD
262002-01-06 Akim Demaille <akim@epita.fr>
27
28 * src/reader.c (parse_braces): Don't fetch the next char, the
29 convention is to fetch on entry.
30 * tests/torture.at (GNU Cim Grammar): Reintroduce their weird
31 'switch' without a following semicolon.
32 * tests/regression.at (braces parsing): New.
33
3460813b
AD
342002-01-06 Akim Demaille <akim@epita.fr>
35
36 Bison is dead wrong in its RR conflict reports.
37
38 * tests/torture.at (GNU Cim Grammar): New.
39 * src/conflicts.c (count_rr_conflicts): Fix.
40
73784c64
AD
412002-01-06 Akim Demaille <akim@epita.fr>
42
43 Creating package.m4 from configure.ac causes too many problems.
44
45 * tests/Makefile.am (package.m4): Create it by hand,
46 AC_CONFIG_TESTDIR no longer does in the most recent CVS Autoconf.
47
25d81090
AD
482002-01-06 Akim Demaille <akim@epita.fr>
49
50 * src/Makefile.am (bison_SOURCES): Add parse-skel.h and
51 skeleton.h.
52
a9b8959e
PE
532002-01-04 Paul Eggert <eggert@twinsun.com>
54
55 * doc/bison.texinfo (Debugging):
56 Remove YYSTDERR; it's no longer defined or used.
57 Also, s/cstdio.h/cstdio/.
58
25d81090
AD
592002-01-03 Akim Demaille <akim@epita.fr>
60
61 * tests/bison.in, tests/atlocal.in: Adjust to CVS Autoconf.
62
1109455c
AD
632002-01-03 Akim Demaille <akim@epita.fr>
64
65 * src/parse-skel.y (process_skeleton): Don't bind the parser's
66 tracing code to --trace, wait for a better --trace option, with
67 args.
68
7ea5e977
AD
692002-01-03 Akim Demaille <akim@epita.fr>
70
71 * src/bison.simple (YYSTDERR): Remove, replace `stderr'.
72 The ISO C++ standard is extremely clear about it: stderr is
73 considered a macro, not a regular symbol (see table 94 `Header
74 <cstdio> synopsis', [lib.c.files] 27.8.2 C Library files).
75 Therefore std:: does not apply to it. It still does with fprintf.
76 Also, s/cstdio.h/cstdio/.
77
fab5b110
AD
782002-01-03 Akim Demaille <akim@epita.fr>
79
80 * lib/quotearg.c: Use `#include "..."' instead of `#include <...>'
81 for non system headers.
82
aed7fd9b
AD
832002-01-02 Akim Demaille <akim@epita.fr>
84
85 Equip the skeleton chain with location tracking, runtime trace,
86 pure parser and scanner.
87
88 * src/parse-skel.y: Request a pure parser, locations, and prefix
89 renaming.
90 (%union): Having several members with the same type does not help
91 type mismatches, simplify.
92 (YYPRINT, yyprint): New.
93 (yyerror): ``Rename'' (there is a #define yyerror skel_error) as...
94 (skel_error): this.
95 Handle locations.
96 * src/scan-skel.l: Adjust to these changes.
97 * src/skeleton.h (LOCATION_RESET, LOCATION_LINES, LOCATION_STEP)
98 (LOCATION_PRINT, skel_control_t): New.
99
24fad99e
AD
1002001-12-30 Akim Demaille <akim@epita.fr>
101
102 * src/parse-skel.y: Get rid of the shift/reduce conflict:
103 replace `gb' with BLANKS.
104 * src/scan-skel.l: Adjust.
105
a4b36db4
AD
1062001-12-30 Akim Demaille <akim@epita.fr>
107
108 * src/system.h: We don't need nor want bcopy.
109 Throw away MS-DOS crap: we don't need getpid.
110 * configure.in: We don't need strndup. It was even causing
111 problems: because Flex includes the headers *before* us,
112 _GNU_SOURCE is not defined by config.h, and therefore strndup was
113 not visible.
114 * lib/xstrndup.c: New.
115 * src/scan-skel.l: Use it.
116 Be sure to initialize yylval.muscle member when scanning a MUSCLE.
117 * src/parse-skel.y: Use %directives instead of #defines.
118
1239777d
AD
1192001-12-30 Akim Demaille <akim@epita.fr>
120
121 * src/skeleton.h: New.
122 * src/output.c (output_parser, output_master_parser): Remove, dead
123 code.
124 * src/output.h (get_lines_number, actions_output, guards_output)
125 (token_definitions_output): Prototype them.
126 * src/parse-skel.y: Add the license notice.
127 Include output.h and skeleton.h.
128 (process_skeleton): Returns void, and takes a single parameter.
129 * src/scan-skel.l: Add the license notice.
130 Include skeleton.h.
131 Don't use %option yylineno: it seems that then Flex imagines
132 REJECT has been used, and therefore it won't reallocate its
133 buffers (which makes no other sense to me than a bug). It results
134 in warnings for `unused: yy_flex_realloc'.
135
9b3add5b
RA
1362001-12-30 Robert Anisko <robert.anisko@epita.fr>
137
138 * src/muscle_tab.h (MUSCLE_INSERT_INT, MUSCLE_INSERT_STRING)
139 (MUSCLE_INSERT_PREFIX): ...to there.
140 * src/output.c (MUSCLE_INSERT_INT, MUSCLE_INSERT_STRING)
141 (MUSCLE_INSERT_PREFIX): Move from here...
142
143 * src/bison.hairy: Add a section directive. Put braces around muscle
144 names. This parser skeleton is still broken, but Bison should not
145 choke on a bad muscle 'syntax'.
146 * src/bison.simple: Add a section directive. Put braces around muscle
147 names.
148
149 * src/files.h (strsuffix, stringappend): Add declarations.
150 (tab_extension): Add declaration.
151 (short_base_name): Add declaration.
152
153 * src/files.c (strsuffix, stringappend): No longer static. These
154 functions are used in the skeleton parser.
155 (tab_extension): New.
156 (compute_base_names): Use the computations done in this function
fab5b110 157 to guess if the generated parsers should have '.tab' in their
9b3add5b
RA
158 names.
159 (short_base_name): No longer static.
160
161 * src/output.c (output_skeleton): New.
162 (output): Disable call to output_master_parser, and give a try to
163 a new skeleton handling system.
164 (guards_output, actions_output): No longer static.
165 (token_definitions_output, get_lines_number): No longer static.
166
167 * configure.in: Use AM_PROG_LEX and AC_PROG_YACC.
168
fab5b110 169 * src/Makefile.am (bison_SOURCES): Add scan-skel.l and
9b3add5b
RA
170 parse-skel.y.
171
172 * src/parse-skel.y: New file.
173 * src/scan-skel.l: New file.
174
b5b61c61
AD
1752001-12-29 Akim Demaille <akim@epita.fr>
176
177 %name-prefix is broken.
178
179 * src/files.c (spec_name_prefix): Initialize to NULL, not to "yy".
180 Adjust all dependencies.
181 * tests/headers.at (export YYLTYPE): Strengthen this test: use
182 %name-prefix.
183
184 Renaming yylval but not yylloc is not consistent. Now we do.
185
186 * src/bison.simple: Prefix yylloc if used.
187 * doc/bison.texinfo (Decl Summary): Document that.
188
8c9a50be
AD
1892001-12-29 Akim Demaille <akim@epita.fr>
190
191 * doc/bison.texinfo: Promote `%long-directive' over
192 `%long_directive'.
193 Remove all references to fixed-output-files, yacc is enough.
194
d99361e6
AD
1952001-12-29 Akim Demaille <akim@epita.fr>
196
197 * src/bison.simple: Define YYDEBUG and YYERROR_VERBOSE *after* the
198 user prologue. These are defaults.
199 * tests/actions.at (Mid-rule actions): Make sure the user can
200 define YYDEBUG and YYERROR_VERBOSE.
201
b9cecb91
AD
2022001-12-29 Akim Demaille <akim@epita.fr>
203
204 * src/output.c (header_output): Don't forget to export YYLTYPE and
205 yylloc.
206 * tests/headers.at (export YYLTYPE): New, make sure it does.
207 * tests/regression.at (%union and --defines, Invalid CPP headers):
208 Move to...
209 * tests/headers.at: here.
210
aea13e97
AD
2112001-12-29 Akim Demaille <akim@epita.fr>
212
213 * src/gram.h (rule_s): Member `assoc' is of type `associativity'.
214
931394cb
AD
2152001-12-29 Akim Demaille <akim@epita.fr>
216
217 * tests/actions.at (Mid-rule actions): Output on a single line
218 instead of several.
219
704a47c4
AD
2202001-12-29 Akim Demaille <akim@epita.fr>
221
222 * doc/bison.texinfo: Formatting changes.
223
091e20bb
AD
2242001-12-29 Akim Demaille <akim@epita.fr>
225
226 Don't store the token defs in a muscle, just be ready to output it
227 on command. Now possible via `symbols'. Fixes a memory leak.
228
229 * src/output.c (token_definitions_output): New.
230 (output_parser, header_output): Use it.
231 * src/reader.c (symbols_save): Remove.
232
cce71710
AD
2332001-12-29 Akim Demaille <akim@epita.fr>
234
235 * src/bison.simple: Do not provide a default for YYSTYPE and
236 YYLTYPE before the user's prologue. Otherwise it's hardly... a
237 default.
238
82c035a8
AD
2392001-12-29 Akim Demaille <akim@epita.fr>
240
241 Mid-rule actions are simply... ignored!
242
243 * src/reader.c (readgram): Be sure to attach mid-rule actions to
244 the empty-rule associated to the dummy symbol, not to the host
245 rule.
246 * tests/actions.at (Mid-rule actions): New.
247
8419d367
AD
2482001-12-29 Akim Demaille <akim@epita.fr>
249
250 Memory leak.
251
252 * src/reader.c (reader): Free grammar.
253
375d5806
AD
2542001-12-29 Akim Demaille <akim@epita.fr>
255
256 Memory leak.
257
258 * src/LR0.c (new_itemsets): Don't allocate `shift_symbol' here,
259 since it allocates it for each state, although only one is needed.
260 (allocate_storage): Do it here.
261
f51cb8ff
AD
2622001-12-29 Akim Demaille <akim@epita.fr>
263
264 * src/options.h, src/options.c (create_long_option_table): Rename
265 as...
266 (long_option_table_new): this, with a clearer prototype.
267 (percent_table): Remove, unused,
268 * src/getargs.c (getargs): Adjust.
269
29e88316
AD
2702001-12-29 Akim Demaille <akim@epita.fr>
271
272 * src/LR0.c, src/conflicts.c, src/lalr.c, src/lalr.h, src/output.c
273 * src/print.c, src/print_graph.c, src/state.h: Rename state_table
274 as states.
275
b9f71f19
AD
2762001-12-29 Akim Demaille <akim@epita.fr>
277
278 * src/lalr.c (build_relations): Rename `states' as `states1'.
279 Sorry, I don't understand exactly what it is, no better name...
280
1a2b5d37
AD
2812001-12-29 Akim Demaille <akim@epita.fr>
282
283 * src/closure.c, src/conflicts.c, src/derives.c, src/gram.c
284 * src/gram.h, src/lalr.c, src/nullable.c, src/output.c, src/print.c
285 * src/print_graph.c, src/reader.c, src/reduce.c: Rename rule_table
286 as rules.
287
1cca533e
AD
2882001-12-29 Akim Demaille <akim@epita.fr>
289
290 * src/gram.c (rprec, rprecsym, rassoc): Remove, unused since long
291 ago.
292
c03ae966
AD
2932001-12-29 Akim Demaille <akim@epita.fr>
294
295 * src/reader.c, src/reader.h (user_toknums): Remove.
296 Adjust all users to use symbols[i]->user_token_number.
297
5a670b1e
AD
2982001-12-29 Akim Demaille <akim@epita.fr>
299
300 * src/gram.c, src/gram.h (sprec, sassoc): Remove.
301 Adjust all users to use symbols[i]->prec or ->assoc.
302
ad949da9
AD
3032001-12-29 Akim Demaille <akim@epita.fr>
304
305 * src/reader.c, src/reader.h (tags): Remove.
306 Adjust all users to use symbols[i]->tag.
307
0e78e603
AD
3082001-12-29 Akim Demaille <akim@epita.fr>
309
310 * src/gram.h, src/gram.c (symbols): New, similar to state_table
311 and rule_table.
312 * src/reader.c (packsymbols): Fill this table.
313 Drop sprec.
314 * src/conflicts.c (resolve_sr_conflict): Adjust.
315 * src/reduce.c (reduce_grammar): Adjust: just sort symbols, a
316 single table.
317 Use symbols[i]->tag instead of tags[i].
318
213e640e
AD
3192001-12-29 Akim Demaille <akim@epita.fr>
320
321 * tests/calc.at (_AT_DATA_CALC_Y): Also use %union.
322 In addition, put a comment in there, to replace...
323 * tests/regression.at (%union and C comments): Remove.
324
e7b8bef1
AD
3252001-12-29 Akim Demaille <akim@epita.fr>
326
327 * tests/regression.at (Web2c Actions): Blindly move the actual
328 output as expected output. The contents *seem* right to me, but I
329 can't pretend reading perfectly parser tables... Nonetheless, all
330 the other tests pass correctly, the table look OK, even though the
331 presence of `$axiom' is to be noted: AFAICS it is useless (but
332 harmless).
333
b68e7744
AD
3342001-12-29 Akim Demaille <akim@epita.fr>
335
336 * src/reader.c (readgram): Don't add the rule 0 if there were no
337 rules read. In other words, add it _after_ having performed
338 grammar sanity checks.
339 Fixes the `tests/regression.at (Invalid input: 1)' Failure.
340
78d5bae9
AD
3412001-12-29 Akim Demaille <akim@epita.fr>
342
343 * tests/regression.at (Web2c Report): Catch up: the rule 0 is now
344 visible, and some states have now a different number.
345
ff442794
AD
3462001-12-29 Akim Demaille <akim@epita.fr>
347
348 * src/reader.c (readgram): Bind the initial rule's lineno to that
349 of the first rule.
350 * tests/regression.at (Rule Line Numbers, Unresolved SR Conflicts):
351 (Solved SR Conflicts): Adjust rule 0's line number.
352
610ab194
AD
3532001-12-29 Akim Demaille <akim@epita.fr>
354
355 Fix the `GAWK Grammar' failure.
356
357 * src/LR0.c (final_state): Initialize to -1 so that we do compute
358 the reductions of the first state which was mistakenly confused
359 with the final state because precisely final_state was initialized
360 to 0.
361 * tests/sets.at (Nullable): Adjust: state 0 does have lookaheads,
362 now noticed by Bison.
363 * tests/regression.at (Rule Line Numbers): Adjust: state 0 does
364 have a reduction on $default.
365
29d29c8f
AD
3662001-12-29 Akim Demaille <akim@epita.fr>
367
368 * src/gram.c (ritem_print): Be sure to subtract 1 when displaying
369 rule line numbers.
370 * src/closure.c (print_closure): Likewise.
371 * src/derives.c (print_derives): Likewise.
372 * tests/sets.at (Nullable): Adjust: the rule numbers are correct
373 now.
374
7c6b64d0
AD
3752001-12-29 Akim Demaille <akim@epita.fr>
376
377 * src/lalr.c (lookaheads_print): New.
378 (lalr): Call it when --trace-flag.
379 * tests/sets.at (Nullable): Adjust: when tracing, the lookaheads
380 are dumped.
381
3d4daee3
AD
3822001-12-29 Akim Demaille <akim@epita.fr>
383
384 * src/derives.c (print_derives): Be sure to use `>= 0', not `> 0',
385 when walking through ritem, even via rule->rhs.
386 * src/reduce.c (dump_grammar, useful_production, reduce_output)
387 (useful_production, useless_nonterminals): Likewise.
388 (reduce_grammar_tables): Likewise, plus update nritems.
389 * src/nullable.c (set_nullable): Likewise.
390 * src/lalr.c (build_relations): Likewise.
391 * tests/sets.at (Nullable): Adjust.
392 Fortunately, now, the $axiom is no longer nullable.
393
9e7f6bbd
AD
3942001-12-29 Akim Demaille <akim@epita.fr>
395
396 * src/LR0.c (generate_states): Use nritems, not nitems, nor using
397 the 0-sentinel.
398 * src/gram.c (ritem_longest_rhs): Likewise.
399 * src/reduce.c (nonterminals_reduce): Likewise.
400 * src/print_graph.c (print_graph): Likewise.
401 * src/output.c (output_rule_data): Likewise.
402 * src/nullable.c (set_nullable): Likewise.
403
255ef638
AD
4042001-12-29 Akim Demaille <akim@epita.fr>
405
406 * src/output.c: Comment changes.
407
0d8a7363
AD
4082001-12-27 Paul Eggert <eggert@twinsun.com>
409
410 * src/bison.simple (YYSTACK_ALLOC, YYSIZE_T): Remove special
411 cases for non-GNU systems like AIX, HP-UX, SGI, Sun, and
412 Sparc, as they were causing more porting problems than the
413 (minor) performance improvement was worth.
414
415 Also, catch up with 1.31's YYSTD.
416
3db472b9
AD
4172001-12-27 Akim Demaille <akim@epita.fr>
418
419 * src/output.c (output_gram): Rely on nritems, not the
420 0-sentinel. See below.
421 Use -1 as separator, not 0.
422 * src/bison.simple (yyparse): Subtract 1 to the rule numbers.
423 Rely on -1 as separator in yyrhs, instead of 0.
424 * tests/calc.at (AT_CHECK_CALC): Now, the parsers no longer issue
425 twice `Now at end of input', therefore there are two lines less to
426 expect.
427
b365aa05
AD
4282001-12-27 Akim Demaille <akim@epita.fr>
429
430 * tests/regression.at (Unresolved SR Conflicts):
431 (Solved SR Conflicts, Rule Line Numbers): Adjust to the changes
432 below.
433
30171f79
AD
4342001-12-27 Akim Demaille <akim@epita.fr>
435
436 * src/LR0.c (new_state): Recognize the final state by the fact it
437 is reached by eoftoken.
438 (insert_start_shifting_state, insert_eof_shifting_state)
439 (insert_accepting_state, augment_automaton): Remove, since now
440 these states are automatically computed from the initial state.
441 (generate_states): Adjust.
442 * src/print.c: When reporting a rule number to the user, substract
443 1, so that the axiom rule is rule 0, and the first user rule is 1.
444 * src/reduce.c: Likewise.
445 * src/print_graph.c (print_core): For the time being, just as for
446 the report, depend upon --trace-flags to dump the full set of
447 items.
448 * src/reader.c (readgram): Once the grammar read, insert the rule
449 0: `$axiom: START-SYMBOL $'.
450 * tests/set.at: Adjust: rule 0 is now displayed, and since the
451 number of the states has changed (the final state is no longer
452 necessarily the last), catch up.
453
75142d45
AD
4542001-12-27 Akim Demaille <akim@epita.fr>
455
456 Try to make the use of the eoftoken valid. Given that its value
457 is 0 which was also used as a sentinel in ritem, (i) make sure >= 0
458 is used instead of > 0 where appropriate, (ii), depend upon nritems
459 instead of the 0-sentinel.
460
461 * src/gram.h, src/gram.c (nritems): New.
462 Expected to be duplication of nitems, but for the time being...
463 * src/reader.c (packgram): Assert nritems and nitems are equal.
464 * src/LR0.c (allocate_itemsets, new_itemsets): Adjust.
465 * src/closure.c (print_closure, print_fderives): Likewise.
466 * src/gram.c (ritem_print): Likewise.
467 * src/print.c (print_core, print_grammar): Likewise.
468 * src/print_graph.c: Likewise.
469
b7c49edf
AD
4702001-12-27 Akim Demaille <akim@epita.fr>
471
472 * src/main.c (main): If there are complains after grammar
473 reductions, then output the report anyway if requested, then die.
474 * src/symtab.c (bucket_new): Initialize `value' to -1, not 0.
475 * src/reader.c (eoftoken): New.
476 (parse_token_decl): If the token being defined has value `0', it
477 is the eoftoken.
478 (packsymbols): No longer hack `tags' to insert `$' by hand.
479 Be sure to preserve the value of the eoftoken.
480 (reader): Make sure eoftoken is defined.
481 Initialize nsyms to 0: now eoftoken is created just like the others.
482 * src/print.c (print_grammar): Don't special case the eof token.
483 * src/regression.at: Adjust: `$' has value 0, not -1, which was a
484 lie anyway, albeit pleasant.
485 * tests/calc.at: Exercise error messages with eoftoken.
486 Change the grammar so that empty input is invalid.
487 Adjust expectations.
488 When yyungeting, be sure to use a valid yylloc: use last_yylloc.
489
ec2da99f
AD
4902001-12-27 Akim Demaille <akim@epita.fr>
491
492 * configure.in: Check the protos of strchr ans strspn.
493 Replace strchr if needed.
494 * src/system.h: Provide the protos of strchr, strspn and memchr if
495 missing.
496 * lib/strchr.c: New.
497 * src/reader.c (symbols_save): Use strchr.
498
8adfa272
AD
4992001-12-27 Akim Demaille <akim@epita.fr>
500
501 * src/print.c, src/print_graph.c (escape): New.
502 Use it to quote the TAGS outputs.
503 * src/print_graph.c (print_state): Now errors are in red, and
504 reductions in green.
505 Prefer high to wide: output the state number on a line of its own.
506
80dac38c
AD
5072001-12-27 Akim Demaille <akim@epita.fr>
508
509 * src/state.h, src/state.c (reductions_new): New.
510 * src/LR0.c (set_state_table): Let all the states have a
511 `reductions', even if reduced to 0.
512 (save_reductions): Adjust.
513 * src/lalr.c (initialize_LA, initialize_lookaheads): Adjust.
514 * src/print.c (print_reductions, print_actions): Adjust.
515 * src/output.c (action_row): Adjust.
516
2cec70b9
AD
5172001-12-27 Akim Demaille <akim@epita.fr>
518
519 * src/state.h, src/state.c (errs_new, errs_dup): New.
520 * src/LR0.c (set_state_table): Let all the states have an errs,
521 even if reduced to 0.
522 * src/print.c (print_errs, print_reductions): Adjust.
523 * src/output.c (output_actions, action_row): Adjust.
524 * src/conflicts.c (resolve_sr_conflict): Adjust.
525
13ca549a
AD
5262001-12-27 Akim Demaille <akim@epita.fr>
527
528 * src/lalr.c (set_goto_map, initialize_F): Use SHIFT_SYMBOL.
529
5092aba5
AD
5302001-12-27 Akim Demaille <akim@epita.fr>
531
532 * src/conflicts.c, src/conflicts.h (print_reductions): Move to...
533 * src/print.c: here.
534 (lookaheadset, shiftset): New, used as additional storage by
535 print_reductions.
536 (print_results): Adjust.
537 (print_shifts, print_gotos, print_errs): New, extracted from...
538 (print_actions): here.
539 * src/print_graph.c (print_actions): Remove dead code.
540
11e2beca
AD
5412001-12-27 Akim Demaille <akim@epita.fr>
542
543 * src/reader.c (copy_dollar, copy_at): Better checking of `n' in
544 `$n' and `@n'.
545
dac3c910
AD
5462001-12-27 Akim Demaille <akim@epita.fr>
547
548 * src/lalr.c (add_lookback_edge): Use state_t instead of ints.
549 (build_relations): Adjust.
550
d0b0fefa
AD
5512001-12-27 Akim Demaille <akim@epita.fr>
552
553 * src/lalr.c (set_goto_map): Remove a wrong but benign loop
554 duplication.
555
adc8c848
AD
5562001-12-27 Akim Demaille <akim@epita.fr>
557
558 * src/reader.c (packgram): Catch nitems overflows.
559
14d293ac
AD
5602001-12-27 Akim Demaille <akim@epita.fr>
561
562 * src/files.c, src/files.h (guard_obstack): Remove.
563 * src/output.c (output): Adjust.
564 * src/reader.c (parse_braces): New, factoring...
565 (copy_action, copy_guard): these two which are renamed as...
566 (parse_action, parse_guard): these.
567 As a voluntary consequence, using braces around guards is now
568 mandatory.
569
f499b062
AD
5702001-12-27 Akim Demaille <akim@epita.fr>
571
572 * src/gram.h (rule_t): `guard' and `guard_line' are new members.
573 * src/reader.c (symbol_list): `guard' and `guard_line' are new
574 members.
575 (symbol_list_new): Adjust.
576 (copy_action): action_line is the first line, not the last.
577 (copy_guard): Just as for actions, store the `action' only, not
578 the switch/case/break flesh.
579 Don't parse the user action that might follow the guard, let...
580 (readgram): do it, i.e., now, there can be an action after a
581 guard.
582 In other words the guard is just explicitly optional.
583 (packgram): Adjust.
584 * src/output.c (guards_output): New.
585 (output_parser): Call it when needed.
586 (output): Also free the guard and attrs obstacks.
587 * src/files.c, src/files.h (obstack_save): Remove.
588 (output_files): Remove.
589 As a result, if one needs the former `.act' file, using an
590 appropriate skeleton which requires actions and guards is now
591 required.
592 * src/main.c (main): Adjust.
593 * tests/semantic.at: New.
594 * tests/regression.at: Use `input.y' as input file name.
595 Avoid 8+3 problems by requiring input.c when the test needs the
596 parser.
597
d945f5cd
AD
5982001-12-27 Akim Demaille <akim@epita.fr>
599
600 * src/reader.c (symbol_list_new): Be sure to initialize all the
601 fields.
602
d200e455
AD
6032001-12-27 Akim Demaille <akim@epita.fr>
604
605 All the hacks using a final pseudo state are now useless.
606
607 * src/LR0.c (set_state_table): state_table holds exactly nstates.
608 * src/lalr.c (nLA): New.
609 (initialize_LA, compute_lookaheads, initialize_lookaheads): Use it
610 instead of lookaheadsp from the pseudo state (nstate + 1).
611
f9507c28
AD
6122001-12-27 Akim Demaille <akim@epita.fr>
613
614 * src/output.c (action_row, token_actions): Use a state_t instead
615 of a integer, and nlookaheads instead of the following state's
616 lookaheadsp.
617
065fbd27
AD
6182001-12-27 Akim Demaille <akim@epita.fr>
619
620 * src/conflicts.c (log_resolution, flush_shift)
621 (resolve_sr_conflict, set_conflicts, solve_conflicts)
622 (count_sr_conflicts, count_rr_conflicts, conflicts_output)
623 (conflicts_print, print_reductions): Use a state_t instead of an
624 integer when referring to a state.
625 As much as possible, depend upon nlookaheads, instead of the
626 `lookaheadsp' member of the following state (since lookaheads of
627 successive states are successive, the difference between state n + 1
628 and n served as the number of lookaheads for state n).
629 * src/lalr.c (add_lookback_edge): Likewise.
630 * src/print.c (print_core, print_actions, print_state)
631 (print_results): Likewise.
632 * src/print_graph.c (print_core, print_actions, print_state)
633 (print_graph): Likewise.
634 * src/conflicts.h: Adjust.
635
1b177bd7
AD
6362001-12-27 Akim Demaille <akim@epita.fr>
637
638 * src/bison.hairy: Formatting/comment changes.
639 ANSIfy.
640 Remove `register' indications.
641 Add plenty of `static'.
642
7742ddeb
AD
6432001-12-27 Akim Demaille <akim@epita.fr>
644
645 * src/output.c (prepare): Drop the muscle `ntbase' which
646 duplicates ntokens.
647 * src/bison.simple: Formatting/comment changes.
648 Use YYNTOKENS only, which is documented, but not YYNTBASE, which
649 is an undocumented synonym.
650
1fa14068
AD
6512001-12-22 Akim Demaille <akim@epita.fr>
652
653 * src/output.c (output_table_data): Change the prototype to use
654 `int' for array ranges: some invocations do pass an int, not a
655 short.
656 Reported by Wayne Green.
657
b9752825
AD
6582001-12-22 Akim Demaille <akim@epita.fr>
659
660 Some actions of web2c.y are improperly triggered.
661 Reported by Mike Castle.
662
663 * src/lalr.c (traverse): s/F (i)[k] = F (j)[k]/F (j)[k] = F (i)[k]/.
664 * tests/regression.at (Web2c): Rename as...
665 (Web2c Report): this.
666 (Web2c Actions): New.
667
776209d6
AD
6682001-12-22 Akim Demaille <akim@epita.fr>
669
670 Reductions in web2c.y are improperly reported.
671 Reported by Mike Castle.
672
673 * src/conflicts.c (print_reductions): Fix.
674 * tests/regression.at (Web2c): New.
675
275fc3ad
AD
6762001-12-18 Akim Demaille <akim@epita.fr>
677
678 Some host fail on `assert (!"foo")', which expands to
679 ((!"foo") ? (void)0 : __assert("!"foo."", __FILE__, __LINE__))
680 Reported by Nelson Beebee.
681
682 * src/output.c, src/vcg.c: Replace `assert (!"it succeeded")' with
683 `#define it_succeeded 0' and `assert (it_succeeded)'.
684
897668ee
MA
6852001-12-17 Marc Autret <autret_m@epita.fr>
686
687 * src/bison.simple: Don't hard code the skeleton line and filename.
688 * src/output.c (output_parser): Rename 'line' as 'output_line'.
689 New line counter 'skeleton_line' (skeleton-line muscle).
690
ab3399e0
PE
6912001-12-17 Paul Eggert <eggert@twinsun.com>
692
693 * NEWS, doc/bison.texinfo, doc/bison.1, doc/bison.rnh: Document that
694 YYDEBUG must be defined to a nonzero value.
695
696 * src/bison.simple (yytname): Do not assume that the user defines
697 YYDEBUG to a properly parenthesized expression.
698
3877f72b
AD
6992001-12-17 Akim Demaille <akim@epita.fr>
700
701 * src/state.h (state_t): Rename lookaheads as lookaheadsp.
702 nlookaheads is a new member.
703 Adjust all users.
704 * src/lalr.h (nlookaheads): Remove this orphan declaration.
705 * src/lalr.c (initialize_lookaheads): Set nlookaheads for each
706 state.
776209d6 707
331dbc1b
AD
7082001-12-17 Akim Demaille <akim@epita.fr>
709
710 * src/files.h, src/files.c (open_files, close_files): Remove.
711 * src/main.c (main): Don't open/close files, nor invoke lex_free,
712 let...
713 * src/reader.c (reader): Do it.
776209d6 714
be750e4c
AD
7152001-12-17 Akim Demaille <akim@epita.fr>
716
717 * src/conflicts.c (print_reductions): Formatting changes.
776209d6 718
709ae8c6
AD
7192001-12-17 Akim Demaille <akim@epita.fr>
720
721 * src/conflicts.c (flush_shift): Also adjust lookaheadset.
722 (flush_reduce): New.
723 (resolve_sr_conflict): Adjust.
776209d6 724
f87685c3
AD
7252001-12-17 Akim Demaille <akim@epita.fr>
726
727 * src/output.c (output_obstack): Be static and rename as...
728 (format_obstack): this, to avoid any confusion with files.c's
729 output_obstack.
730 * src/reader.h (muscle_obstack): Move to...
731 * src/output.h: here, since it's defined in output.c.
732
837491d8
AD
7332001-12-17 Akim Demaille <akim@epita.fr>
734
735 * src/output.c (action_row, save_column, default_goto)
736 (sort_actions, matching_state, pack_vector): Better variable
737 locality.
738
796d61fb
AD
7392001-12-17 Akim Demaille <akim@epita.fr>
740
741 * src/output.c: Various formatting changes.
776209d6 742
64d15509
AD
7432001-12-17 Akim Demaille <akim@epita.fr>
744
745 * src/files.c (output_files): Free the output_obstack.
746 * src/main.c (main): Call print and print_graph conditionally.
747 * src/print.c (print): Work unconditionally.
748 * src/print_graph.c (print_graph): Work unconditionally.
749 * src/conflicts.c (log_resolution): Output only if verbose_flag.
750
fbc8ecb7
MA
7512001-12-16 Marc Autret <autret_m@epita.fr>
752
753 * src/output.c (actions_output): Fix. When we use %no-lines,
754 there is one less line per action.
755
f0440388
MA
7562001-12-16 Marc Autret <autret_m@epita.fr>
757
758 * src/bison.simple: Remove a useless #line directive.
759 s/#line %%line %%skeleton/#line %%line "%%parser-file-name"/'.
760 * src/output.c (get_lines_number): New.
776209d6 761 (output_parser): Adjust, now takes care about the lines of a
f0440388
MA
762 output muscles.
763 Fix line numbering.
764 (actions_output): Computes the number of lines taken by actions.
765 (output_master_parser): Insert new skeleton which is the name of
766 the output parser file name.
767
a79986b8
MA
7682001-12-15 Marc Autret <autret_m@epita.fr>
769
770 * src/bison.simple [YYERROR_VERBOSE]: Restore backward compatibility.
771
4ec8e00f
MA
7722001-12-15 Marc Autret <autret_m@epita.fr>
773
774 * src/output.c (output_gram): Keep track of the hairy one.
775
1a4648ff
AD
7762001-12-15 Akim Demaille <akim@epita.fr>
777
778 Make `make distcheck' work.
779
780 * lib/Makefile.am (INCLUDES): Add top_srcdir/intl, since hash uses
781 system.h which uses libgettext.h.
782
9c2c67e6
AD
7832001-12-15 Akim Demaille <akim@epita.fr>
784
785 * src/nullable.c (set_nullable): Useless rules must be skipped,
786 otherwise, since we range over their symbols, we might look at a
787 nonterminal which no longer ``exists'', i.e., it is not counted in
788 `nvars', hence we overflow our arrays.
789
93ede233
AD
7902001-12-15 Akim Demaille <akim@epita.fr>
791
792 The header can also be produced directly, without any obstack!
793 Yahoo!
794
795 * src/files.c, src/files.h (defines_obstack): Remove.
796 (compute_header_macro): Global.
797 (defines_obstack_save): Remove.
798 * src/reader.c (parse_union_decl): No longer output to
799 defines_obstack: its content can be found in the `stype' muscle
800 anyway.
801 (output_token_translations): Merge into...
802 (symbols_output): this.
803 Rename as...
804 (symbols_save): this.
805 (reader): Adjust.
806 * src/output.c (header_output): New.
807 (output): Call it.
808
2666f928
AD
8092001-12-15 Akim Demaille <akim@epita.fr>
810
811 * src/reader.c (parse_union_decl): Instead of handling two obstack
812 simultaneously, use one to define the `stype' muscle, and use the
813 value of the latter to fill defines_obstack.
814 (copy_comment): Remove.
815 (copy_comment2): Work for a single obstack.
816 Rename as...
817 (copy_comment): this.
818
428046f8
AD
8192001-12-15 Akim Demaille <akim@epita.fr>
820
821 * src/lex.c, src/lex.h (xgetc): No longer static.
822 * src/reader.c (parse_union_decl): Revamp.
823
ea52d706
AD
8242001-12-15 Akim Demaille <akim@epita.fr>
825
826 Still making progress in separating Bison into (i) input, (ii)
827 process, (iii) output: now we can directly output the parser file
828 without using table_obstack at all.
829
830 * src/files.c, src/files.h (table_obstack): Bye bye.
831 (parser_file_name): New.
832 * src/files.c (compute_output_file_names): Compute it.
833 * src/output.c (actions_output, output_parser)
834 (output_master_parser): To a file instead of an obstack.
835
3f96f4dc
AD
8362001-12-15 Akim Demaille <akim@epita.fr>
837
838 Attach actions to rules, instead of pre-outputting them to
839 actions_obstack.
840
841 * src/gram.h (rule_t): action and action_line are new members.
842 * src/reader.c (symbol_list): Likewise.
843 (copy_action): Save the actions within the rule.
844 (packgram): Save them in rule_table.
845 * src/output.c (actions_output): New.
846 (output_parser): Use it on `%%actions'.
847 (output_rule_data): Don't free rule_table.
848 (output): Do it.
849 (prepare): Don't save the `action' muscle.
850 * src/bison.simple: s/%%action/%%actions/.
851
51576fb3
AD
8522001-12-15 Akim Demaille <akim@epita.fr>
853
854 * src/reader.c (copy_action): When --yacc, don't append a `;'
855 to the user action: let it fail if lacking.
dee049eb 856 Suggested by Arnold Robbins and Tom Tromey.
51576fb3 857
2648a72d
AD
8582001-12-14 Akim Demaille <akim@epita.fr>
859
860 * src/lex.c (literalchar): Simply return the char you decoded, non
861 longer mess around with obstacks and int pointers.
862 Adjust all callers.
863
92790e5b
AD
8642001-12-14 Akim Demaille <akim@epita.fr>
865
866 * src/lex.c (literalchar): Don't escape the special characters,
867 just decode them, and keep them as char (before, eol was output as
868 the 2 char string `\n' etc.).
869 * src/output.c (output_rule_data): Use quotearg to output the
870 token strings.
871
927c1557
PE
8722001-12-13 Paul Eggert <eggert@twinsun.com>
873
874 * src/bison.simple (YYSIZE_T, YYSTACK_ALLOC, YYSTACK_FREE):
875 Do not infringe on the global user namespace when using C++.
876 (YYFPRINTF, YYSTDERR): New macros, needed for the above.
877 All uses of `fprintf' and `stderr' changed.
878
879 * doc/bison.texinfo: Document YYFPRINTF, YYSTDERR.
880
ed8e1f68
AD
8812001-12-13 Akim Demaille <akim@epita.fr>
882
883 The computation of nullable is broken: it doesn't handle empty
884 RHS's properly.
885
886 * tests/torture.at (GNU AWK Grammar): New.
887 * tests/sets.at (Nullable): New.
888 * src/nullable.c (set_nullable): Instead of blindly looping over
889 `ritems', loop over the rules, and then over their rhs's.
890
891 Work around Autotest bugs.
892
893 * src/warshall.c (bitmatrix_print): Don't use `+--+' as table
894 frame, because Autotest understand lines starting with a `+' as
895 traces from the shell. Then, they are not processed properly.
896 Admittedly an Autotest bug, but we don't have time to wait for
897 Autotest to catch up.
898 * tests/regression.at (Broken Closure): Adjust to the new table
899 frames.
900 Move to...
901 * tests/sets.at: here.
902
cb581495
AD
9032001-12-13 Akim Demaille <akim@epita.fr>
904
905 * src/closure.c (closure): Use nrules instead of playing tricks
906 with BITS_PER_WORD.
907
2e729273
AD
9082001-12-13 Akim Demaille <akim@epita.fr>
909
910 * src/print.c (print_actions): Output the handling of `$' as the
911 traces do: shifting the token EOF. Before EOF was treated as a
912 nonterminal.
913 * tests/regression.at: Adjust some tests.
914 * src/print_graph.c (print_core): Complete the set of items via
915 closure. The next-to-final and final states are still unsatisfying,
916 but that's to be addressed elsewhere.
917 No longer output the rule numbers, but do output the state number.
918 A single loop for the shifts + gotos is enough, but picked a
919 distinct color for each.
920 (print_graph): Initialize and finalize closure.
921
107f7dfb
AD
9222001-12-13 Akim Demaille <akim@epita.fr>
923
924 * src/reader.c (readgram): Remove dead code, an strip useless
925 braces.
926 (get_type): Remove, unused.
927
9b53a24f
AD
9282001-12-12 Akim Demaille <akim@epita.fr>
929
930 * src/complain.h, src/complain.c: Remove error_one_per_line, rely
931 on that of lib/error.c.
932
dbfb6dcd
AD
9332001-12-12 Akim Demaille <akim@epita.fr>
934
935 Some hosts don't like `/' in includes.
936
937 * src/system.h: Include libgettext.h without qualifying the path.
938 * src/Makefile.am (INCLUDES): Add $(top_srcdir)/intl, remove
939 $(top_srcdir).
940
c25fb648
MA
9412001-12-11 Marc Autret <autret_m@epita.fr>
942
943 * src/output.c (output_parser): Remove useless muscle.
944
710ddc4f
MA
9452001-12-11 Marc Autret <autret_m@epita.fr>
946
947 * src/bison.simple: Remove #line just before %%epilogue. It
948 is now handled in ...
949 * src/reader.c (read_additionnal_code): Add the output of a
950 #line for the epilogue.
951
e83d80b8
MA
9522001-12-10 Marc Autret <autret_m@epita.fr>
953
927c1557 954 * src/reader.c (copy_definition): Re-use CPP-outed code which
e83d80b8
MA
955 replace precedent remove.
956 * src/bison.simple: Remove #line before %%prologue because
957 %%input-line is wrong at this time.
958
971d5158
MA
9592001-12-10 Marc Autret <autret_m@epita.fr>
960
961 * src/reader.c (symbols_output): Clean up.
927c1557 962 * src/output.c (output_gram, output): Clean up.
971d5158 963
5edafffd
AD
9642001-12-10 Akim Demaille <akim@epita.fr>
965
966 * src/lalr.c (initialize_lookaheads): New. Extracted from...
967 * src/LR0.c (set_state_table): here.
968 * src/lalr.c (lalr): Call it.
969
0279f8e9
AD
9702001-12-10 Akim Demaille <akim@epita.fr>
971
972 * src/state.h (shifts): Remove the `number' member: shifts are
973 attached to state, hence no longer need to be labelled with a
974 state number.
975
190c4f5f
AD
9762001-12-10 Akim Demaille <akim@epita.fr>
977
978 Now that states have a complete set of members, the linked list of
979 shifts is useless: just fill directly the state's shifts member.
980
981 * src/state.h (shifts): Remove the `next' member.
982 * src/LR0.c (first_state, last_state): Remove.
983 Adjust the callers.
984 (augment_automaton): Don't look for the shifts that must be added
985 a shift on EOF: it is those of the state we looked for! But now,
986 since shifts are attached, it is no longer needed to looking
987 merely by its id: its number.
988
2a73b93d
AD
9892001-12-10 Akim Demaille <akim@epita.fr>
990
991 * src/LR0.c (augment_automaton): Better variable locality.
992 Remove an impossible branch: if there is a state corresponding to
993 the start symbol being shifted, then there is shift for the start
994 symbol from the initial state.
995
74392f6a
AD
9962001-12-10 Akim Demaille <akim@epita.fr>
997
998 * src/LR0.c (augment_automaton): Call `insert_eof_shifting_state'
999 only when appropriate: when insert_start_shifting_state' is not
1000 invoked.
1001 * tests/regression.at (Rule Line Numbers): Adjust.
1002
37c82725
AD
10032001-12-10 Akim Demaille <akim@epita.fr>
1004
1005 * src/LR0.c (augment_automaton): Now that all states have shifts,
1006 merge the two cases addition shifts to the initial state.
1007
6a164e0c
AD
10082001-12-10 Akim Demaille <akim@epita.fr>
1009
1010 * src/lalr.c (set_state_table): Move to...
1011 * src/LR0.c: here.
1012 * src/lalr.c (lalr): Don't call it...
1013 * src/LR0.c (generate_states): do it.
1014 * src/LR0.h (first_state): Remove, only the table is used.
1015
7215de24
AD
10162001-12-10 Akim Demaille <akim@epita.fr>
1017
1018 * src/LR0.h (first_shift, first_reduction): Remove.
1019 * src/lalr.c: Don't use first_shift: find shifts through the
1020 states.
1021
80e25d4d
AD
10222001-12-10 Akim Demaille <akim@epita.fr>
1023
1024 * src/LR0.c: Attach shifts to states as soon as they are
1025 computed.
1026 * src/lalr.c (set_state_table): Instead of assigning shifts to
1027 state, just assert that the mapping was properly done.
1028
0ab3728b
AD
10292001-12-10 Akim Demaille <akim@epita.fr>
1030
1031 * src/LR0.c (insert_start_shift): Rename as...
1032 (insert_start_shifting_state): this.
1033 (insert_eof_shifting_state, insert_accepting_state): New.
1034 (augment_automaton): Adjust.
1035 Better locality of the variables.
1036 When looking if the start_symbol is shifted from the initial
1037 state, using `while (... symbol != start_symbol ...)' sounds
1038 better than `while (... symbol < start_symbol ...)': If fail
1039 to see how the order between symbols could be relevant!
1040
78af9bbc
AD
10412001-12-10 Akim Demaille <akim@epita.fr>
1042
1043 * src/getargs.h: Don't declare `spec_name_prefix' and
1044 `spec_file_prefix', declared by src/files.h.
1045 * src/files.c, src/files.h: Default for spec_name_prefix is "yy".
1046 * src/muscle_tab.c (muscle_init): Default prefix to NULL.
1047 * src/output.c (prepare): Adjust.
1048 * src/reader.c (symbols_output): Likewise.
1049 * src/vmsgetargs.c: Vaguely adjust, but who cares?
1050
bdef2a41
AD
10512001-12-10 Akim Demaille <akim@epita.fr>
1052
1053 * src/muscle_tab.c (muscle_init): NULL is a better default than
1054 `"0"'.
1055
3735969c
AD
10562001-12-10 Akim Demaille <akim@epita.fr>
1057
1058 * src/reader.c (reader): Calling symbols_output once is enough.
1059
49701457
AD
10602001-12-10 Akim Demaille <akim@epita.fr>
1061
1062 Now that states have a complete set of members, the linked list of
1063 reductions is useless: just fill directly the state's reductions
1064 member.
1065
1066 * src/state.h (struct reductions): Remove member `number' and
1067 `next'.
1068 * src/LR0.c (first_reduction, last_reduction): Remove.
1069 (save_reductions): Don't link the new reductions, store them in
1070 this_state.
1071 * src/lalr.c (set_state_table): No need to attach reductions to
1072 states, it's already done.
1073 * src/output.c (output_actions): No longer free the shifts, then
1074 the reductions, then the states: free all the states and their
1075 members.
1076
0edad749
AD
10772001-12-10 Akim Demaille <akim@epita.fr>
1078
1079 * src/options.c (OPTN, DRTV, BOTH): New.
1080 (option_table): Use them.
1081
0edad749
AD
1082 * src/muscle_tab.c: Don't include xalloc.h and string.h: that's
1083 the job of system.h.
1084 * src/options.c: Don't include stdio.h and xalloc.h for the same
1085 reasons.
1086
5449dd0f
AD
10872001-12-10 Akim Demaille <akim@epita.fr>
1088
1089 * src/output.c (output, prepare): Make sure the values of the
1090 muscles `action' and `prologue' are 0-terminated.
1091
a870c567
AD
10922001-12-10 Akim Demaille <akim@epita.fr>
1093
1094 Clean up GCC warnings.
1095
1096 * src/reader.c (copy_action): `buf' is not used.
1097 (parse_skel_decl): Be static.
1098 * src/muscle_tab.c (mhash1, mhash2, muscle_insert): Preserve `const'.
1099 * src/options.h (create_long_option_table): Have a real prototype.
1100 * lib/hash.c, lib/hash.h (hash_insert, hash_insert_at, hash_delete)
1101 (hash_delete_at): Return const void *.
1102 Adjust casts to preserve the const.
1103
80df8768
AD
11042001-12-10 Akim Demaille <akim@epita.fr>
1105
1106 * configure.in: Require 2.52g.
1107 M4 is not needed, but AUTOM4TE is.
1108 * m4/m4.m4: Remove.
1109 * tests/Makefile.am: Adjust.
1110
f693ad14
AD
11112001-12-10 Akim Demaille <akim@epita.fr>
1112
1113 One structure for states is enough, even though theoretically
1114 there are LR(0) states and LALR(1) states.
1115
1116 * src/lalr.h (state_t): Remove.
1117 (state_table): Be state_t **, not state_t *.
1118 * src/state.h (core, CORE_ALLOC): Rename as...
1119 (state_t, STATE_ALLOC): this.
1120 Add the LALR(1) members: shifts, reductions, errs.
1121 * src/LR0.c (state_table): Rename as...
1122 (state_hash): this, to avoid name clashes with the global
1123 `state_table'.
1124 * src/print_graph.c, src/LR0.c, src/LR0.h, src/conflicts.c
1125 * src/lalr.c, src/lalr.h, src/output.c, src/print.c: Adjust.
1126
74ffbcb6
AD
11272001-12-10 Akim Demaille <akim@epita.fr>
1128
1129 Bison dumps core on bash.y.
1130 Reported by Pascal Bart.
1131
1132 * src/warshall.c (bitmatrix_print): New.
1133 (TC): Use it.
1134 When performing a transitive closure R(i, j) && R(j, k) => R(i, k),
1135 j must be the outer loop.
1136 * tests/regression.at (Broken Closure): New.
1137
07708e19
AD
11382001-12-05 Akim Demaille <akim@epita.fr>
1139
1140 * tests/atlocal.in (CPPFLAGS): Do not leave a space between -I and
1141 its argument.
1142