aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-06 11:01:19 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-06 11:01:19 +0000
commit8b3150eb7ea715f96295991892f92da415734e01 (patch)
treeb9e51922416b9eb93b9167817c0be6b8d1facb71 /mandoc.h
parent4cc7a999b3000183ed01396b0eed8525adfa4697 (diff)
downloadmandoc-8b3150eb7ea715f96295991892f92da415734e01.tar.gz
mandoc-8b3150eb7ea715f96295991892f92da415734e01.tar.zst
mandoc-8b3150eb7ea715f96295991892f92da415734e01.zip
Merge schwarze@'s relaxation of scope-breaking rules: allow implicit
ending of scopes and drop stray scope-endings.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 7e84f8db..99f56b27 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.29 2010/12/05 15:55:01 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.30 2010/12/06 11:01:19 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -89,6 +89,7 @@ enum mandocerr {
MANDOCERR_LINESCOPE, /* line scope broken */
MANDOCERR_ARGCOUNT, /* argument count wrong */
MANDOCERR_NOSCOPE, /* no such block is open */
+ MANDOCERR_SCOPEBROKEN, /* missing end of block */
MANDOCERR_SCOPEREP, /* scope already open */
MANDOCERR_SCOPEEXIT, /* scope open on exit */
MANDOCERR_UNAME, /* uname(3) system call failed */