CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/01/28 14:10:28
Modified files:
usr.bin/mandoc : eqn.c mandoc.h read.c
regress/usr.bin/mandoc/eqn: Makefile
Added files:
regress/usr.bin/mandoc/eqn/define: Makefile invalid.in
invalid.out_ascii
invalid.out_lint
Log message:
Clean up eqn(7) error handling:
* When "define" fails, do not drop the whole equation.
* Free memory after "undef".
* Use standard mandoc error types instead of rolling our own.
* Delete obfuscating EQN_MSG() macro.
* Add function prototypes while here.