summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-16 19:45:51 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-16 19:45:51 +0000
commita7f2dc1d0e14e61727a4abdb0250b39e016e0705 (patch)
treecdb31d5b93768b5cf7b00e8d9cc1e64704f87814 /mdoc_macro.c
parent632038c8c98f1c408bb368edf910b849f186dc8a (diff)
downloadmandoc-a7f2dc1d0e14e61727a4abdb0250b39e016e0705.tar.gz
mandoc-a7f2dc1d0e14e61727a4abdb0250b39e016e0705.tar.zst
mandoc-a7f2dc1d0e14e61727a4abdb0250b39e016e0705.zip
Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc parser).
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r--mdoc_macro.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c
index e54aedc0..eb2bf3fc 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_macro.c,v 1.12 2009/06/12 09:18:00 kristaps Exp $ */
+/* $Id: mdoc_macro.c,v 1.13 2009/06/16 19:45:51 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -74,7 +74,7 @@ static int swarn(struct mdoc *, enum mdoc_type, int, int,
/* Central table of library: who gets parsed how. */
const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
- { NULL, 0 }, /* \" */
+ { in_line_argn, MDOC_CALLABLE | MDOC_PARSED }, /* Ap */
{ in_line_eoln, MDOC_PROLOGUE }, /* Dd */
{ in_line_eoln, MDOC_PROLOGUE }, /* Dt */
{ in_line_eoln, MDOC_PROLOGUE }, /* Os */
@@ -181,7 +181,6 @@ const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
{ obsolete, 0 }, /* Fr */
{ in_line_eoln, 0 }, /* Ud */
{ in_line_eoln, 0 }, /* Lb */
- { in_line_argn, MDOC_CALLABLE | MDOC_PARSED }, /* Ap */
{ in_line, 0 }, /* Lp */
{ in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Lk */
{ in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Mt */