CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/02/10 10:47:19
Modified files:
usr.bin/mandoc : mdoc_macro.c
regress/usr.bin/mandoc/mdoc/St: Makefile
Added files:
regress/usr.bin/mandoc/mdoc/St: call.in call.out_ascii
call.out_lint
Log message:
Be more careful to not generate empty .In, .St, and .Xr nodes.
That could happen when their first argument was another called macro,
causing a NULL pointer access in .St validation found by jsg@ with afl.
Make in_line_argn() easier to understand by using one state
variable rather than two.