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

Diff for /texi2mdoc/extern.h between version 1.2 and 1.4

version 1.2, 2015/02/20 12:25:25 version 1.4, 2015/02/21 21:49:18
Line 54  enum texicmd {
Line 54  enum texicmd {
         TEXICMD_CONTENTS,          TEXICMD_CONTENTS,
         TEXICMD_COPYING,          TEXICMD_COPYING,
         TEXICMD_COPYRIGHT,          TEXICMD_COPYRIGHT,
           TEXICMD_DEFCODEINDEX,
         TEXICMD_DEFFN,          TEXICMD_DEFFN,
         TEXICMD_DEFFNX,          TEXICMD_DEFFNX,
           TEXICMD_DEFINDEX,
         TEXICMD_DEFMAC,          TEXICMD_DEFMAC,
         TEXICMD_DEFMACX,          TEXICMD_DEFMACX,
         TEXICMD_DEFTP,          TEXICMD_DEFTP,
Line 79  enum texicmd {
Line 81  enum texicmd {
         TEXICMD_DIRCATEGORY,          TEXICMD_DIRCATEGORY,
         TEXICMD_DIRENTRY,          TEXICMD_DIRENTRY,
         TEXICMD_DISPLAY,          TEXICMD_DISPLAY,
           TEXICMD_DMN,
         TEXICMD_DOTS,          TEXICMD_DOTS,
         TEXICMD_EMAIL,          TEXICMD_EMAIL,
         TEXICMD_EMPH,          TEXICMD_EMPH,
         TEXICMD_END,          TEXICMD_END,
         TEXICMD_ENUMERATE,          TEXICMD_ENUMERATE,
         TEXICMD_ENV,          TEXICMD_ENV,
           TEXICMD_EQUIV,
         TEXICMD_ERROR,          TEXICMD_ERROR,
         TEXICMD_EXAMPLE,          TEXICMD_EXAMPLE,
         TEXICMD_EXDENT,          TEXICMD_EXDENT,
Line 120  enum texicmd {
Line 124  enum texicmd {
         TEXICMD_IMAGE,          TEXICMD_IMAGE,
         TEXICMD_INCLUDE,          TEXICMD_INCLUDE,
         TEXICMD_INDENTBLOCK,          TEXICMD_INDENTBLOCK,
           TEXICMD_INDEX,
         TEXICMD_INSERTCOPYING,          TEXICMD_INSERTCOPYING,
         TEXICMD_ITEM,          TEXICMD_ITEM,
         TEXICMD_ITEMIZE,          TEXICMD_ITEMIZE,
Line 144  enum texicmd {
Line 149  enum texicmd {
         TEXICMD_PAGE,          TEXICMD_PAGE,
         TEXICMD_PARINDENT,          TEXICMD_PARINDENT,
         TEXICMD_PERIOD,          TEXICMD_PERIOD,
           TEXICMD_PINDEX,
         TEXICMD_PRINTINDEX,          TEXICMD_PRINTINDEX,
         TEXICMD_R,          TEXICMD_R,
         TEXICMD_RAISESECTIONS,          TEXICMD_RAISESECTIONS,
         TEXICMD_REF,          TEXICMD_REF,
           TEXICMD_REFILL,
         TEXICMD_RESULT,          TEXICMD_RESULT,
         TEXICMD_SAMP,          TEXICMD_SAMP,
         TEXICMD_SANSSERIF,          TEXICMD_SANSSERIF,
Line 171  enum texicmd {
Line 178  enum texicmd {
         TEXICMD_STRONG,          TEXICMD_STRONG,
         TEXICMD_SUBHEADING,          TEXICMD_SUBHEADING,
         TEXICMD_SUBSECTION,          TEXICMD_SUBSECTION,
           TEXICMD_SUBSUBHEADING,
         TEXICMD_SUBSUBSECTION,          TEXICMD_SUBSUBSECTION,
         TEXICMD_SUBTITLE,          TEXICMD_SUBTITLE,
         TEXICMD_SUMMARYCONTENTS,          TEXICMD_SUMMARYCONTENTS,
           TEXICMD_SYNINDEX,
         TEXICMD_SYNCODEINDEX,          TEXICMD_SYNCODEINDEX,
         TEXICMD_T,          TEXICMD_T,
         TEXICMD_TAB,          TEXICMD_TAB,
Line 254  struct texivalue {
Line 263  struct texivalue {
 struct  texi {  struct  texi {
         struct texifile   files[64]; /* stack of open files */          struct texifile   files[64]; /* stack of open files */
         size_t            filepos; /* number of open files */          size_t            filepos; /* number of open files */
           const char       *valstack[64]; /* stack of opened values */
           size_t            valstackpos; /* position in valstack */
         size_t            outcol; /* column in output line */          size_t            outcol; /* column in output line */
         char            **dirs; /* texi directories */          char            **dirs; /* texi directories */
         size_t            dirsz; /* number of texi directories */          size_t            dirsz; /* number of texi directories */
         char             *title; /* title of document */          char             *title; /* title of document */
         char             *subtitle; /* subtitle of document */          char             *subtitle; /* subtitle of document */
         int               secoffs; /* see sectioner() */          int               secoffs; /* see sectioner() */
         struct texivalue *vals;          char            **indexs; /* @defindex indices */
         size_t            valsz;          size_t            indexsz; /* entries in indexs */
           struct texivalue *vals; /* @value entries */
           size_t            valsz; /* entries in vals */
         /*          /*
          * The following control what we output to the screen.           * The following control what we output to the screen.
          * The complexity is required to accomodate for mdoc(7).           * The complexity is required to accomodate for mdoc(7).
Line 294  void parseeoln(struct texi *, const char *, size_t, si
Line 307  void parseeoln(struct texi *, const char *, size_t, si
 void    parsesingle(struct texi *, const char *, size_t, size_t *);  void    parsesingle(struct texi *, const char *, size_t, size_t *);
 void    parseto(struct texi *, const char *, size_t, size_t *, const char *);  void    parseto(struct texi *, const char *, size_t, size_t *, const char *);
   
 void    texiabort(struct texi *, const char *);  void    texiabort(struct texi *, const char *)
                   __attribute__((noreturn));
 enum texicmd  enum texicmd
         texicmd(struct texi *, const char *, size_t, size_t, size_t *);          texicmd(struct texi *, const char *, size_t, size_t, size_t *);
 void    texierr(struct texi *, const char *, ...)  void    texierr(struct texi *, const char *, ...)
                 __attribute__((format(printf, 2, 3)));                  __attribute__((format(printf, 2, 3)))
                   __attribute__((noreturn));
 void    texiexit(struct texi *p);  void    texiexit(struct texi *p);
 void    texifilepop(struct texi *);  void    texifilepop(struct texi *);
 void    teximacro(struct texi *, const char *);  void    teximacro(struct texi *, const char *);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

CVSweb