diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-31 10:04:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-31 10:04:39 +0000 |
commit | 9922cf7c78f8d88f5d9eea09fe6a82a22c7a1e98 (patch) | |
tree | ea0e2b3cfd4de88fc5cee62db04071d5f447a7b8 /man_macro.c | |
parent | 9c56a55fbb79de92a9abf566b12983ebf2c1198b (diff) | |
download | mandoc-9922cf7c78f8d88f5d9eea09fe6a82a22c7a1e98.tar.gz mandoc-9922cf7c78f8d88f5d9eea09fe6a82a22c7a1e98.tar.zst mandoc-9922cf7c78f8d88f5d9eea09fe6a82a22c7a1e98.zip |
Cleanup, no functional change:
Since the man(7) and roff(7) validators no longer use the parser
state flag ROFF_NOFILL, we can finally get rid of the function
man_state(), resulting in a better separation of parsing and validation.
Diffstat (limited to 'man_macro.c')
-rw-r--r-- | man_macro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man_macro.c b/man_macro.c index b0c8e0d1..c438cfe5 100644 --- a/man_macro.c +++ b/man_macro.c @@ -1,4 +1,4 @@ -/* $Id: man_macro.c,v 1.141 2018/12/31 08:03:46 schwarze Exp $ */ +/* $Id: man_macro.c,v 1.142 2018/12/31 10:04:39 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2012-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> @@ -429,7 +429,7 @@ in_line_eoln(MACRO_PROT_ARGS) /* Rewind our element scope. */ for ( ; man->last; man->last = man->last->parent) { - man_state(man, man->last); + man->last->flags |= NODE_VALID; if (man->last == n) break; } |