diff options
author | 2011-09-18 10:25:28 +0000 | |
---|---|---|
committer | 2011-09-18 10:25:28 +0000 | |
commit | f8618d9964397ffcbec49fbf86801d8e517e51aa (patch) | |
tree | 60d86093f0e5ef2fa40fab6d112ce30a3e2806bc /usr.bin/mandoc/mdoc_validate.c | |
parent | Avoid potential 64-bit unaligned access on strict alignment architectures. (diff) | |
download | wireguard-openbsd-f8618d9964397ffcbec49fbf86801d8e517e51aa.tar.xz wireguard-openbsd-f8618d9964397ffcbec49fbf86801d8e517e51aa.zip |
sync to version 1.11.5:
adding an implementation of the eqn(7) language
by kristaps@
So far, only .EQ/.EN blocks are handled, in-line equations are not, and
rendering is not yet very pretty, but the parser is fairly complete.
Diffstat (limited to 'usr.bin/mandoc/mdoc_validate.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_validate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_validate.c b/usr.bin/mandoc/mdoc_validate.c index 1c08e614a80..5a8dc53c275 100644 --- a/usr.bin/mandoc/mdoc_validate.c +++ b/usr.bin/mandoc/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.93 2011/05/29 21:22:18 schwarze Exp $ */ +/* $Id: mdoc_validate.c,v 1.94 2011/09/18 10:25:28 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -895,7 +895,7 @@ pre_sh(PRE_ARGS) if (MDOC_BLOCK != n->type) return(1); - mdoc->regs->regs[(int)REG_nS].set = 0; + roff_regunset(mdoc->roff, REG_nS); return(check_parent(mdoc, n, MDOC_MAX, MDOC_ROOT)); } |