tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
* PATCH: cleanup enum merr in libmdoc.h
@ 2010-05-24  1:10 Ingo Schwarze
  2010-05-24 11:55 ` Joerg Sonnenberger
  0 siblings, 1 reply; 3+ messages in thread
From: Ingo Schwarze @ 2010-05-24  1:10 UTC (permalink / raw)
  To: tech

Hi Kristaps and Joerg,

The enum merr in libmdoc.h is not used any more,
so i propose to drop it.

This patch is also available from
  /usr/vhosts/mdocml.bsd.lv/patch/schwarze/03.enum-merr-cleanup.patch

OK?

Yours,
  Ingo


P.S.
Unless i have missed something, everything in bsd.lv is now merged
to OpenBSD.  I'm currently checking for trivial differences between
our trees; after that, i'm going to look at Joerg's patches,
and after that, i'm planning to extract the remaining non-trivial
patches from the OpenBSD tree in order to push them upstream.


Index: libmdoc.h
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/libmdoc.h,v
retrieving revision 1.49
diff -u -p -r1.49 libmdoc.h
--- libmdoc.h	17 May 2010 23:57:06 -0000	1.49
+++ libmdoc.h	24 May 2010 00:58:28 -0000
@@ -43,62 +43,6 @@ struct	mdoc {
 	enum mdoc_sec	  lastsec;
 };
 
-enum	merr {
-	ETAILWS = 0,
-	EQUOTPARM,
-	EQUOTTERM,
-	EARGVAL,	
-	EBODYPROL,
-	EPROLBODY,
-	ETEXTPROL,
-	ENOBLANK,
-	ETOOLONG,
-	EESCAPE,
-	EPRINT,
-	ENODAT,
-	ENOPROLOGUE,
-	ELINE,
-	EATT,
-	ENAME,
-	ELISTTYPE,
-	EDISPTYPE,
-	EMULTIDISP,
-	EMULTILIST,
-	ESECNAME,
-	ENAMESECINC,
-	EARGREP,
-	EBOOL,
-	ECOLMIS,
-	ENESTDISP,
-	EMISSWIDTH,
-	EWRONGMSEC,
-	ESECOOO,
-	ESECREP,
-	EBADSTAND,
-	ENOMULTILINE,
-	EMULTILINE,
-	ENOLINE,
-	EPROLOOO,
-	EPROLREP,
-	EBADMSEC,
-	EFONT,
-	EBADDATE,
-	ENUMFMT,
-	ENOWIDTH,
-	EUTSNAME,
-	EOBS,
-	EIMPBRK,
-	EIGNE,
-	EOPEN,
-	EQUOTPHR,
-	ENOCTX,
-	ELIB,
-	EBADCHILD,
-	ENOTYPE,
-	EBADCOMMENT,
-	MERRMAX
-};
-
 #define	MACRO_PROT_ARGS	struct mdoc *m, enum mdoct tok, \
 			int line, int ppos, int *pos, char *buf
 
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PATCH: cleanup enum merr in libmdoc.h
  2010-05-24  1:10 PATCH: cleanup enum merr in libmdoc.h Ingo Schwarze
@ 2010-05-24 11:55 ` Joerg Sonnenberger
  2010-05-24 12:03   ` Kristaps Dzonsons
  0 siblings, 1 reply; 3+ messages in thread
From: Joerg Sonnenberger @ 2010-05-24 11:55 UTC (permalink / raw)
  To: tech

On Mon, May 24, 2010 at 03:10:26AM +0200, Ingo Schwarze wrote:
> The enum merr in libmdoc.h is not used any more,
> so i propose to drop it.

Agreed.

Joerg
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PATCH: cleanup enum merr in libmdoc.h
  2010-05-24 11:55 ` Joerg Sonnenberger
@ 2010-05-24 12:03   ` Kristaps Dzonsons
  0 siblings, 0 replies; 3+ messages in thread
From: Kristaps Dzonsons @ 2010-05-24 12:03 UTC (permalink / raw)
  To: tech

>> The enum merr in libmdoc.h is not used any more,
>> so i propose to drop it.
> 
> Agreed.

Please commit.  I forgot to remove those...

Thanks,

Kristaps
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-24 12:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-24  1:10 PATCH: cleanup enum merr in libmdoc.h Ingo Schwarze
2010-05-24 11:55 ` Joerg Sonnenberger
2010-05-24 12:03   ` Kristaps Dzonsons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).