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
cb7db13e45
* src/main.c (main): Don't call `done', exit does it.
2000-03-31 14:37:10 +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
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
Richard M. Stallman
2f9040d9ba
(nbits): Add some casts.
1996-12-17 06:20:27 +00:00
Richard M. Stallman
a083fbbf22
Insert `_' macro around many string constants.
1996-06-01 22:10:15 +00:00
Richard M. Stallman
d129c2c0e7
(reduce_grammar): Revise error message.
...
(print_notices): Remove final `.' from error message.
1995-10-15 20:18:29 +00:00
Richard M. Stallman
572909b5db
entered into RCS
1994-07-12 20:43:44 +00:00