diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-07 09:29:15 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-07 09:29:15 +0000 |
commit | b29fdc329252f18b7e126d0b5bca94e997f64de5 (patch) | |
tree | 997877c720e8be1f0911426986c6dc049804ed7b /libmdoc.h | |
parent | 8bb2d440353dfd8ea31fc13961be17f653478d0b (diff) | |
download | mandoc-b29fdc329252f18b7e126d0b5bca94e997f64de5.tar.gz |
Tabularised error-code lookup in mdoc.c.
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -42,7 +42,7 @@ struct mdoc { }; enum merr { - ETAILWS, + ETAILWS = 0, ECOLEMPTY, EARGVPARM, EQUOTPARM, @@ -52,7 +52,6 @@ enum merr { ENOCALL, EBODYPROL, EPROLBODY, - ESPACE, ETEXTPROL, ENOBLANK, ETOOLONG, @@ -66,8 +65,9 @@ enum merr { ELISTTYPE, EDISPTYPE, EMULTIDISP, - ESECNAME, EMULTILIST, + ESECNAME, + ENAMESECINC, EARGREP, EBOOL, ECOLMIS, @@ -77,27 +77,27 @@ enum merr { ESECOOO, ESECREP, EBADSTAND, - ENAMESECINC, ENOMULTILINE, EMULTILINE, ENOLINE, EPROLOOO, EPROLREP, EBADMSEC, + EBADSEC, EFONT, EBADDATE, + ENUMFMT, ENOWIDTH, - EBADSEC, EUTSNAME, - ENUMFMT, EOBS, EMACPARM, EIMPBRK, EIGNE, EOPEN, - EQUOT, + EQUOTPHR, ENOCTX, - ENOPARMS + ESPACE, + MERRMAX }; #define MACRO_PROT_ARGS struct mdoc *mdoc, int tok, int line, \ |