diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-05-08 01:52:08 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-05-08 01:52:08 +0000 |
commit | 8e1ec00d78a028b557330f0ede1b9d4d43388bda (patch) | |
tree | ebe337982acfe638a3a2c77ed9b22add3b04feba /usr.bin/mandoc/libman.h | |
parent | 7d90ac7f43ce127c37d0aca2698efebff57302c2 (diff) |
handle text lines beginning with \." as comments, like groff does,
even though this is not correct comment syntax (so warn, too)
reported by Claus Assmann on misc@, fix by kristaps@
Diffstat (limited to 'usr.bin/mandoc/libman.h')
-rw-r--r-- | usr.bin/mandoc/libman.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/libman.h b/usr.bin/mandoc/libman.h index c8c457f7955..7e50e366c15 100644 --- a/usr.bin/mandoc/libman.h +++ b/usr.bin/mandoc/libman.h @@ -1,4 +1,4 @@ -/* $Id: libman.h,v 1.16 2010/04/25 16:32:19 schwarze Exp $ */ +/* $Id: libman.h,v 1.17 2010/05/08 01:52:07 schwarze Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -67,6 +67,7 @@ enum merr { WROFFNEST, WROFFSCOPE, WTITLECASE, + WBADCOMMENT, WERRMAX }; |