]> git.saurik.com Git - bison.git/commit - ChangeLog
Clean the error reporting functions.
authorAkim Demaille <akim@epita.fr>
Fri, 31 Mar 2000 13:54:30 +0000 (13:54 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 31 Mar 2000 13:54:30 +0000 (13:54 +0000)
commita0f6b076110ea79f25e13701d7f0ee4b38630d4d
treeeaf407d810668554cbc545fde6cc3c95a5a4d006
parent10a9273b34548200a4e592093b8ba9bec4d980a8
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'.
24 files changed:
ChangeLog
configure.in
lib/Makefile.am
m4/Makefile.am
m4/error.m4 [new file with mode: 0644]
po/de.po
po/es.po
po/fr.po
po/nl.po
po/ru.po
src/LR0.c
src/Makefile.am
src/complain.c [new file with mode: 0644]
src/complain.h [new file with mode: 0644]
src/files.c
src/files.h
src/getargs.c
src/lalr.c
src/lex.c
src/main.c
src/output.c
src/reader.c
src/reduce.c
src/system.h