Print this page
9718 update mandoc to 1.14.4

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mandoc/mandoc.h
          +++ new/usr/src/cmd/mandoc/mandoc.h
   1      -/*      $Id: mandoc.h,v 1.245 2017/07/08 14:51:04 schwarze Exp $ */
        1 +/*      $Id: mandoc.h,v 1.248 2018/07/28 18:34:15 schwarze Exp $ */
   2    2  /*
   3    3   * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
   4      - * Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
        4 + * Copyright (c) 2010-2018 Ingo Schwarze <schwarze@openbsd.org>
   5    5   *
   6    6   * Permission to use, copy, modify, and distribute this software for any
   7    7   * purpose with or without fee is hereby granted, provided that the above
   8    8   * copyright notice and this permission notice appear in all copies.
   9    9   *
  10   10   * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
  11   11   * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  12   12   * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
  13   13   * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  14   14   * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
↓ open down ↓ 34 lines elided ↑ open up ↑
  49   49          MANDOCERR_MDOCDATE, /* Mdocdate found: Dd ... */
  50   50          MANDOCERR_MDOCDATE_MISSING, /* Mdocdate missing: Dd ... */
  51   51          MANDOCERR_ARCH_BAD,  /* unknown architecture: Dt ... arch */
  52   52          MANDOCERR_OS_ARG,  /* operating system explicitly specified: Os ... */
  53   53          MANDOCERR_RCS_MISSING, /* RCS id missing */
  54   54          MANDOCERR_XR_BAD,  /* referenced manual not found: Xr name sec */
  55   55  
  56   56          MANDOCERR_STYLE, /* ===== start of style suggestions ===== */
  57   57  
  58   58          MANDOCERR_DATE_LEGACY, /* legacy man(7) date format: Dd ... */
       59 +        MANDOCERR_DATE_NORM, /* normalizing date format to: ... */
  59   60          MANDOCERR_TITLE_CASE, /* lower case character in document title */
  60   61          MANDOCERR_RCS_REP, /* duplicate RCS id: ... */
  61      -        MANDOCERR_SEC_TYPO,  /* typo in section name: Sh ... */
       62 +        MANDOCERR_SEC_TYPO,  /* possible typo in section name: Sh ... */
  62   63          MANDOCERR_ARG_QUOTE, /* unterminated quoted argument */
  63   64          MANDOCERR_MACRO_USELESS, /* useless macro: macro */
  64   65          MANDOCERR_BX, /* consider using OS macro: macro */
  65   66          MANDOCERR_ER_ORDER, /* errnos out of order: Er ... */
  66   67          MANDOCERR_ER_REP, /* duplicate errno: Er ... */
  67   68          MANDOCERR_DELIM, /* trailing delimiter: macro ... */
  68   69          MANDOCERR_DELIM_NB, /* no blank before trailing delimiter: macro ... */
  69   70          MANDOCERR_FI_SKIP, /* fill mode already enabled, skipping: fi */
  70   71          MANDOCERR_NF_SKIP, /* fill mode already disabled, skipping: nf */
       72 +        MANDOCERR_DASHDASH, /* verbatim "--", maybe consider using \(em */
  71   73          MANDOCERR_FUNC, /* function name without markup: name() */
  72   74          MANDOCERR_SPACE_EOL, /* whitespace at end of input line */
  73   75          MANDOCERR_COMMENT_BAD, /* bad comment style */
  74   76  
  75   77          MANDOCERR_WARNING, /* ===== start of warnings ===== */
  76   78  
  77   79          /* related to the prologue */
  78   80          MANDOCERR_DT_NOTITLE, /* missing manual title, using UNTITLED: line */
  79   81          MANDOCERR_TH_NOTITLE, /* missing manual title, using "": [macro] */
  80   82          MANDOCERR_MSEC_MISSING, /* missing manual section, using "": macro */
↓ open down ↓ 389 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX