Akim Demaille
3519ec76a3
* src/nullable.h: New file.
...
Propagate its inclusion.
* src/nullable.c: Formatting changes.
2000-10-02 08:06:43 +00:00
Akim Demaille
2fa6973e6f
* src/closure.h: New file.
...
* src/closure.c: Formatting changes, topological sort over the
functions, use of closure.h.
(initialize_closure, finalize_closure): Rename as...
(new_closure, free_closure): these. Adjust dependencies.
* src/LR0.c: Formatting changes, topological sort, use of
cloture.h.
(initialize_states): Rename as...
(new_states): this.
* src/Makefile.am (noinst_HEADERS): Adjust.
2000-09-20 15:43:39 +00:00
Akim Demaille
ceed8467b7
* src/output.c: Formatting changes.
...
* src/machine.h: Remove, leaving its contents in...
* src/system.h: here.
Include stdio.h.
Adjust all dependencies on stdio.h and machine.h.
* src/getargs.h: New file.
Let all `extern' declarations about getargs.c be replaced with
inclusion of `getargs.h'.
* src/Makefile.am (noinst_HEADERS): Adjust.
* tests/calc.m4 (yyin): Be initialized in main, not on the global
scope.
(yyerror): Returns void, not int.
* doc/bison.texinfo: Formatting changes.
2000-09-19 18:10:41 +00:00
Jesse Thilo
4a120d45e6
More explicit use of "const", "extern", and "static", particularly to
...
limit the scope of many local variables and functions.
2000-07-04 03:29:02 +00:00
Akim Demaille
3628146521
s/return (foo)/return foo/
2000-03-31 14:27:06 +00:00
Akim Demaille
a0f6b07611
Clean the error reporting functions.
...
* src/report.c: New file.
* src/report.h: Likewise.
* src/Makefile.am: Adjust.
* m4/error.m4: New file.
* m4/Makefile.am: Adjust.
* configure.in (jm_PREREQ_ERROR): Call it.
* src/main.c (int_to_string, banner, fatal_banner, warn_banner):
Remove.
(fatal, fatals): Remove. All callers use complain.c::fatal.
(warn, warni, warns, warnss, warnss): Remove. All callers use
complain.c::complain.
(toomany): Remove, use fatal instead.
* src/files.c (done): No argument, use complain_message_count.
* src/main.c (main): Register `done' to `atexit'.
* src/getargs.c (usage): More `fputs', less `fprintf'.
2000-03-31 13:54:30 +00:00
Jesse Thilo
2686a6e713
Hush a few compiler warnings.
1999-01-20 22:55:06 +00:00
Jesse Thilo
c49a8e71ce
Update FSF address.
1999-01-14 14:58:38 +00:00
Jesse Thilo
d2729d44ab
Use prototypes if the compiler understands them.
1998-12-30 05:27:11 +00:00
Richard M. Stallman
7612000cb0
new.h renamed to alloc.h.
1997-06-18 06:40:45 +00:00
David MacKenzie
40675e7cc9
entered into RCS
1993-04-20 05:55:54 +00:00