diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-22 19:23:48 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-22 19:23:48 +0000 |
commit | 5134b2528e28222c6cfe6ab2b2977ea107397999 (patch) | |
tree | 7f5e62c6008e07831f58913277362fefe3f76add /validate.c | |
parent | 9d6cd65d9c0228344fd1848a9f8c9343f5434599 (diff) | |
download | mandoc-5134b2528e28222c6cfe6ab2b2977ea107397999.tar.gz mandoc-5134b2528e28222c6cfe6ab2b2977ea107397999.tar.zst mandoc-5134b2528e28222c6cfe6ab2b2977ea107397999.zip |
Fixed `.Pf' handling.
System now supports all mdocml manual pages.
Diffstat (limited to 'validate.c')
-rw-r--r-- | validate.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: validate.c,v 1.51 2009/02/22 14:31:08 kristaps Exp $ */ +/* $Id: validate.c,v 1.52 2009/02/22 19:23:48 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -140,6 +140,7 @@ static v_post posts_bl[] = { herr_eq0, bwarn_ge1, post_bl, NULL }; static v_post posts_it[] = { post_it, NULL }; static v_post posts_in[] = { ewarn_eq1, NULL }; static v_post posts_ss[] = { herr_ge1, NULL }; +static v_post posts_pf[] = { eerr_eq1, NULL }; static v_post posts_pp[] = { ewarn_eq0, NULL }; static v_post posts_ex[] = { eerr_le1, post_ex, NULL }; static v_post posts_an[] = { post_an, NULL }; @@ -231,7 +232,7 @@ const struct valids mdoc_valids[MDOC_MAX] = { { NULL, NULL }, /* Nx */ { NULL, NULL }, /* Ox */ { NULL, NULL }, /* Pc */ - { NULL, NULL }, /* Pf */ + { NULL, posts_pf }, /* Pf */ { NULL, NULL }, /* Po */ { NULL, posts_wline }, /* Pq */ { NULL, NULL }, /* Qc */ |