diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-08 20:57:35 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-08 20:57:35 +0000 |
commit | f4bf03d97398f8f37ba7e8df8d5a0e3f1b53520c (patch) | |
tree | 11715948991bd99b0b0588a8fc1b0e1f465dc250 | |
parent | 68fba3271bc79716f1743bd49dd75bbad59cb00d (diff) | |
download | mandoc-f4bf03d97398f8f37ba7e8df8d5a0e3f1b53520c.tar.gz |
Added `Lp' macro.
-rw-r--r-- | action.c | 1 | ||||
-rw-r--r-- | argv.c | 1 | ||||
-rw-r--r-- | macro.c | 1 | ||||
-rw-r--r-- | mdoc.c | 3 | ||||
-rw-r--r-- | mdoc.h | 3 | ||||
-rw-r--r-- | term.c | 1 | ||||
-rw-r--r-- | validate.c | 1 |
7 files changed, 9 insertions, 2 deletions
@@ -172,6 +172,7 @@ const struct actions mdoc_actions[MDOC_MAX] = { { NULL }, /* Ud */ { NULL }, /* Lb */ { NULL }, /* Ap */ + { NULL }, /* Lp */ }; @@ -208,6 +208,7 @@ static int mdoc_argflags[MDOC_MAX] = { 0, /* Ud */ 0, /* Lb */ 0, /* Ap */ + 0, /* Lp */ }; @@ -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; @@ -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] = { @@ -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. */ @@ -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; @@ -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 */ }; |