summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 20:57:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 20:57:35 +0000
commitf4bf03d97398f8f37ba7e8df8d5a0e3f1b53520c (patch)
tree11715948991bd99b0b0588a8fc1b0e1f465dc250
parent68fba3271bc79716f1743bd49dd75bbad59cb00d (diff)
downloadmandoc-f4bf03d97398f8f37ba7e8df8d5a0e3f1b53520c.tar.gz
Added `Lp' macro.
-rw-r--r--action.c1
-rw-r--r--argv.c1
-rw-r--r--macro.c1
-rw-r--r--mdoc.c3
-rw-r--r--mdoc.h3
-rw-r--r--term.c1
-rw-r--r--validate.c1
7 files changed, 9 insertions, 2 deletions
diff --git a/action.c b/action.c
index 247f98fa..686f8159 100644
--- a/action.c
+++ b/action.c
@@ -172,6 +172,7 @@ const struct actions mdoc_actions[MDOC_MAX] = {
{ NULL }, /* Ud */
{ NULL }, /* Lb */
{ NULL }, /* Ap */
+ { NULL }, /* Lp */
};
diff --git a/argv.c b/argv.c
index 1bd1bd4c..1756a3ea 100644
--- a/argv.c
+++ b/argv.c
@@ -208,6 +208,7 @@ static int mdoc_argflags[MDOC_MAX] = {
0, /* Ud */
0, /* Lb */
0, /* Ap */
+ 0, /* Lp */
};
diff --git a/macro.c b/macro.c
index b68439eb..ba29e9dd 100644
--- a/macro.c
+++ b/macro.c
@@ -182,6 +182,7 @@ const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
{ macro_constant, 0 }, /* Ud */
{ macro_constant, 0 }, /* Lb */
{ macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* Ap */
+ { macro_text, 0 }, /* Lp */
};
const struct mdoc_macro * const mdoc_macros = __mdoc_macros;
diff --git a/mdoc.c b/mdoc.c
index 2a019ab4..6996e4f2 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -70,7 +70,8 @@ const char *const __mdoc_macronames[MDOC_MAX] = {
"Tn", "Ux", "Xc", "Xo",
"Fo", "Fc", "Oo", "Oc",
"Bk", "Ek", "Bt", "Hf",
- "Fr", "Ud", "Lb", "Ap"
+ "Fr", "Ud", "Lb", "Ap",
+ "Lp"
};
const char *const __mdoc_argnames[MDOC_ARG_MAX] = {
diff --git a/mdoc.h b/mdoc.h
index cdf755ea..be2a0123 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -139,7 +139,8 @@
#define MDOC_Ud 105
#define MDOC_Lb 106
#define MDOC_Ap 107
-#define MDOC_MAX 108
+#define MDOC_Lp 108
+#define MDOC_MAX 109
/* What follows is a list of ALL possible macro arguments. */
diff --git a/term.c b/term.c
index 8c209a98..9baf5079 100644
--- a/term.c
+++ b/term.c
@@ -276,6 +276,7 @@ const struct termact __termacts[MDOC_MAX] = {
{ termp_ud_pre, NULL }, /* Ud */
{ termp_lb_pre, termp_lb_post }, /* Lb */
{ termp_ap_pre, NULL }, /* Lb */
+ { termp_pp_pre, NULL }, /* Pp */
};
const struct termact *termacts = __termacts;
diff --git a/validate.c b/validate.c
index 89289961..754997f1 100644
--- a/validate.c
+++ b/validate.c
@@ -299,6 +299,7 @@ const struct valids mdoc_valids[MDOC_MAX] = {
{ NULL, posts_notext }, /* Ud */
{ pres_lb, posts_lb }, /* Lb */
{ NULL, NULL }, /* Lb */
+ { NULL, posts_pp }, /* Pp */
};