diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-06 14:24:49 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-06 14:24:49 +0000 |
commit | 7024ee7ca35a8033dee9ec0936cd2f3e0251aca2 (patch) | |
tree | d98189a2f8785e0f2217c5b3a2a0a6abe57112d1 /action.c | |
parent | bc942b21e65675353944cc575b047c6a80080195 (diff) | |
download | mandoc-7024ee7ca35a8033dee9ec0936cd2f3e0251aca2.tar.gz |
Documented the strings script.
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -535,11 +535,13 @@ post_ar(struct mdoc *mdoc) n = mdoc->last; mdoc->next = MDOC_NEXT_CHILD; - mdoc_word_alloc(mdoc, mdoc->last->line, - mdoc->last->pos, "file"); + if ( ! mdoc_word_alloc(mdoc, mdoc->last->line, + mdoc->last->pos, "file")) + return(0); mdoc->next = MDOC_NEXT_SIBLING; - mdoc_word_alloc(mdoc, mdoc->last->line, - mdoc->last->pos, "..."); + if ( ! mdoc_word_alloc(mdoc, mdoc->last->line, + mdoc->last->pos, "...")) + return(0); mdoc->last = n; mdoc->next = MDOC_NEXT_SIBLING; |