From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id eef864bb for ; Sun, 25 Jun 2017 06:46:07 -0500 (EST) Date: Sun, 25 Jun 2017 06:46:07 -0500 (EST) Message-Id: <6465837916973374828.enqueue@fantadrom.bsd.lv> X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: add support for the MT and ME mailto macros, used for example in X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- add support for the MT and ME mailto macros, used for example in wg(8); patch from bentley@ Modified Files: -------------- mandoc: man_macro.c Revision Data ------------- Index: man_macro.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/man_macro.c,v retrieving revision 1.122 retrieving revision 1.123 diff -Lman_macro.c -Lman_macro.c -u -p -r1.122 -r1.123 --- man_macro.c +++ man_macro.c @@ -75,6 +75,8 @@ const struct man_macro __man_macros[MAN_ { in_line_eoln, MAN_BSCOPE }, /* EE */ { blk_exp, MAN_BSCOPE }, /* UR */ { blk_close, MAN_BSCOPE }, /* UE */ + { blk_exp, MAN_BSCOPE }, /* MT */ + { blk_close, MAN_BSCOPE }, /* ME */ }; const struct man_macro *const man_macros = __man_macros - MAN_TH; @@ -216,6 +218,9 @@ blk_close(MACRO_PROT_ARGS) break; case MAN_UE: ntok = MAN_UR; + break; + case MAN_ME: + ntok = MAN_MT; break; default: abort(); -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv