[BACK]Return to mandoc.h CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mandoc.h between version 1.25 and 1.30

version 1.25, 2010/12/01 10:31:35 version 1.30, 2010/12/06 11:01:19
Line 45  enum mandocerr {
Line 45  enum mandocerr {
         MANDOCERR_OK,          MANDOCERR_OK,
   
         MANDOCERR_WARNING, /* ===== start of warnings ===== */          MANDOCERR_WARNING, /* ===== start of warnings ===== */
           MANDOCERR_SO, /* .so is fragile, better use ln(1) */
         MANDOCERR_UPPERCASE, /* text should be uppercase */          MANDOCERR_UPPERCASE, /* text should be uppercase */
         MANDOCERR_SECOOO, /* sections out of conventional order */          MANDOCERR_SECOOO, /* sections out of conventional order */
         MANDOCERR_SECREP, /* section name repeats */          MANDOCERR_SECREP, /* section name repeats */
Line 55  enum mandocerr {
Line 56  enum mandocerr {
         MANDOCERR_BADESCAPE, /* bad escape sequence */          MANDOCERR_BADESCAPE, /* bad escape sequence */
         MANDOCERR_BADQUOTE, /* unterminated quoted string */          MANDOCERR_BADQUOTE, /* unterminated quoted string */
         MANDOCERR_NOWIDTHARG, /* argument requires the width argument */          MANDOCERR_NOWIDTHARG, /* argument requires the width argument */
         /* FIXME: merge with MANDOCERR_IGNARGV. */  
         MANDOCERR_WIDTHARG, /* superfluous width argument */  
         MANDOCERR_BADDATE, /* bad date argument */          MANDOCERR_BADDATE, /* bad date argument */
         MANDOCERR_BADWIDTH, /* bad width argument */          MANDOCERR_BADWIDTH, /* bad width argument */
         MANDOCERR_BADMSEC, /* unknown manual section */          MANDOCERR_BADMSEC, /* unknown manual section */
Line 68  enum mandocerr {
Line 67  enum mandocerr {
         MANDOCERR_NAMESECFIRST, /* NAME section must come first */          MANDOCERR_NAMESECFIRST, /* NAME section must come first */
         MANDOCERR_BADBOOL, /* bad Boolean value */          MANDOCERR_BADBOOL, /* bad Boolean value */
         MANDOCERR_CHILD, /* child violates parent syntax */          MANDOCERR_CHILD, /* child violates parent syntax */
           MANDOCERR_NESTEDDISP, /* displays may not be nested */
         MANDOCERR_BADATT, /* bad AT&T symbol */          MANDOCERR_BADATT, /* bad AT&T symbol */
         MANDOCERR_BADSTANDARD, /* bad standard */          MANDOCERR_BADSTANDARD, /* bad standard */
         MANDOCERR_LISTREP, /* list type repeated */          MANDOCERR_LISTREP, /* list type repeated */
Line 89  enum mandocerr {
Line 89  enum mandocerr {
         MANDOCERR_LINESCOPE, /* line scope broken */          MANDOCERR_LINESCOPE, /* line scope broken */
         MANDOCERR_ARGCOUNT, /* argument count wrong */          MANDOCERR_ARGCOUNT, /* argument count wrong */
         MANDOCERR_NOSCOPE, /* no such block is open */          MANDOCERR_NOSCOPE, /* no such block is open */
           MANDOCERR_SCOPEBROKEN, /* missing end of block */
         MANDOCERR_SCOPEREP, /* scope already open */          MANDOCERR_SCOPEREP, /* scope already open */
         MANDOCERR_SCOPEEXIT, /* scope open on exit */          MANDOCERR_SCOPEEXIT, /* scope open on exit */
           MANDOCERR_UNAME, /* uname(3) system call failed */
         /* FIXME: merge following with MANDOCERR_ARGCOUNT */          /* FIXME: merge following with MANDOCERR_ARGCOUNT */
         MANDOCERR_NOARGS, /* macro requires line argument(s) */          MANDOCERR_NOARGS, /* macro requires line argument(s) */
         MANDOCERR_NOBODY, /* macro requires body argument(s) */          MANDOCERR_NOBODY, /* macro requires body argument(s) */
Line 105  enum mandocerr {
Line 107  enum mandocerr {
   
         MANDOCERR_FATAL, /* ===== start of fatal errors ===== */          MANDOCERR_FATAL, /* ===== start of fatal errors ===== */
         MANDOCERR_COLUMNS, /* column syntax is inconsistent */          MANDOCERR_COLUMNS, /* column syntax is inconsistent */
         /* FIXME: this should be a MANDOCERR_ERROR */  
         MANDOCERR_NESTEDDISP, /* displays may not be nested */  
         MANDOCERR_BADDISP, /* unsupported display type */          MANDOCERR_BADDISP, /* unsupported display type */
         MANDOCERR_SCOPEFATAL, /* blocks badly nested */          MANDOCERR_SCOPEFATAL, /* blocks badly nested */
         MANDOCERR_SYNTNOSCOPE, /* no scope to rewind: syntax violated */          MANDOCERR_SYNTNOSCOPE, /* no scope to rewind: syntax violated */
Line 114  enum mandocerr {
Line 114  enum mandocerr {
         MANDOCERR_SYNTARGVCOUNT, /* argument count wrong, violates syntax */          MANDOCERR_SYNTARGVCOUNT, /* argument count wrong, violates syntax */
         MANDOCERR_SYNTCHILD, /* child violates parent syntax */          MANDOCERR_SYNTCHILD, /* child violates parent syntax */
         MANDOCERR_SYNTARGCOUNT, /* argument count wrong, violates syntax */          MANDOCERR_SYNTARGCOUNT, /* argument count wrong, violates syntax */
           MANDOCERR_SOPATH, /* NOT IMPLEMENTED: .so with absolute path or ".." */
         MANDOCERR_NODOCBODY, /* no document body */          MANDOCERR_NODOCBODY, /* no document body */
         MANDOCERR_NODOCPROLOG, /* no document prologue */          MANDOCERR_NODOCPROLOG, /* no document prologue */
         MANDOCERR_UTSNAME, /* utsname system call failed */  
         MANDOCERR_MEM, /* static buffer exhausted */          MANDOCERR_MEM, /* static buffer exhausted */
         MANDOCERR_MAX          MANDOCERR_MAX
 };  };

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.30

CVSweb