Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Ingo Schwarze (schwarzecvs.openbsd.org)
Date: Thu Nov 25 2010 - 16:23:31 CST
Module name: src
Changes by: schwarzecvs.openbsd.org 2010/11/25 15:23:31
usr.bin/mandoc : main.c roff.c roff.h
Implement the .de (define macro) roff instruction.
This fixes various Xenocara manuals.
Do not define your own macros in new manuals, though:
this code exists purely to cope with existing and old stuff.
Like in both traditional and GNU roff, the .de and .ds (define string)
roff instructions share the same string table, so one can abuse strings
as macros and vice versa. This implementation supports multi-line
user-defined macros and user-defined macros taking up to 9 arguments.
Project started near the end of p2k10, now mature for production,
but there is still room for future improvements in various respects.