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

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

version 1.4, 2015/02/21 21:49:18 version 1.9, 2015/02/23 14:36:03
Line 39  enum texicmd {
Line 39  enum texicmd {
         TEXICMD_BANG,          TEXICMD_BANG,
         TEXICMD_BULLET,          TEXICMD_BULLET,
         TEXICMD_BYE,          TEXICMD_BYE,
           TEXICMD_CARTOUCHE,
           TEXICMD_CEDILLA,
         TEXICMD_CENTER,          TEXICMD_CENTER,
         TEXICMD_CHAPTER,          TEXICMD_CHAPTER,
         TEXICMD_CINDEX,          TEXICMD_CINDEX,
Line 66  enum texicmd {
Line 68  enum texicmd {
         TEXICMD_DEFTYPEFNX,          TEXICMD_DEFTYPEFNX,
         TEXICMD_DEFTYPEFUN,          TEXICMD_DEFTYPEFUN,
         TEXICMD_DEFTYPEFUNX,          TEXICMD_DEFTYPEFUNX,
           TEXICMD_DEFTYPEMETHOD,
           TEXICMD_DEFTYPEMETHODX,
         TEXICMD_DEFTYPEVAR,          TEXICMD_DEFTYPEVAR,
         TEXICMD_DEFTYPEVARX,          TEXICMD_DEFTYPEVARX,
         TEXICMD_DEFTYPEVR,          TEXICMD_DEFTYPEVR,
Line 86  enum texicmd {
Line 90  enum texicmd {
         TEXICMD_EMAIL,          TEXICMD_EMAIL,
         TEXICMD_EMPH,          TEXICMD_EMPH,
         TEXICMD_END,          TEXICMD_END,
           TEXICMD_ENDDOTS,
         TEXICMD_ENUMERATE,          TEXICMD_ENUMERATE,
         TEXICMD_ENV,          TEXICMD_ENV,
         TEXICMD_EQUIV,          TEXICMD_EQUIV,
Line 96  enum texicmd {
Line 101  enum texicmd {
         TEXICMD_FILE,          TEXICMD_FILE,
         TEXICMD_FINALOUT,          TEXICMD_FINALOUT,
         TEXICMD_FINDEX,          TEXICMD_FINDEX,
           TEXICMD_FOOTNOTE,
         TEXICMD_FTABLE,          TEXICMD_FTABLE,
         TEXICMD_FORMAT,          TEXICMD_FORMAT,
         TEXICMD_GRAVE,          TEXICMD_GRAVE,
Line 124  enum texicmd {
Line 130  enum texicmd {
         TEXICMD_IMAGE,          TEXICMD_IMAGE,
         TEXICMD_INCLUDE,          TEXICMD_INCLUDE,
         TEXICMD_INDENTBLOCK,          TEXICMD_INDENTBLOCK,
         TEXICMD_INDEX,          TEXICMD_INFOREF,
         TEXICMD_INSERTCOPYING,          TEXICMD_INSERTCOPYING,
         TEXICMD_ITEM,          TEXICMD_ITEM,
         TEXICMD_ITEMIZE,          TEXICMD_ITEMIZE,
Line 134  enum texicmd {
Line 140  enum texicmd {
         TEXICMD_KINDEX,          TEXICMD_KINDEX,
         TEXICMD_LATEX,          TEXICMD_LATEX,
         TEXICMD_LOWERSECTIONS,          TEXICMD_LOWERSECTIONS,
           TEXICMD_MACRO,
         TEXICMD_MATH,          TEXICMD_MATH,
         TEXICMD_MENU,          TEXICMD_MENU,
         TEXICMD_MINUS,          TEXICMD_MINUS,
Line 166  enum texicmd {
Line 173  enum texicmd {
         TEXICMD_SETTITLE,          TEXICMD_SETTITLE,
         TEXICMD_SHORTCONTENTS,          TEXICMD_SHORTCONTENTS,
         TEXICMD_SLANTED,          TEXICMD_SLANTED,
           TEXICMD_SLASH,
         TEXICMD_SP,          TEXICMD_SP,
         TEXICMD_SPACE,          TEXICMD_SPACE,
         TEXICMD_SMALLBOOK,          TEXICMD_SMALLBOOK,
Line 203  enum texicmd {
Line 211  enum texicmd {
         TEXICMD_UNNUMBEREDSUBSUBSEC,          TEXICMD_UNNUMBEREDSUBSUBSEC,
         TEXICMD_UREF,          TEXICMD_UREF,
         TEXICMD_URL,          TEXICMD_URL,
           TEXICMD_USER_INDEX,
         TEXICMD_VALUE,          TEXICMD_VALUE,
         TEXICMD_VAR,          TEXICMD_VAR,
           TEXICMD_VERB,
         TEXICMD_VERBATIM,          TEXICMD_VERBATIM,
         TEXICMD_VERBATIMINCLUDE,          TEXICMD_VERBATIMINCLUDE,
         TEXICMD_VINDEX,          TEXICMD_VINDEX,
Line 256  struct texivalue {
Line 266  struct texivalue {
         char            *value;          char            *value;
 };  };
   
   struct  teximacro {
           char             *key;
           char             *value;
           char            **args;
           size_t            argsz;
   };
   
 /*  /*
  * The main parse structure.   * The main parse structure.
  * This keeps any necessary information handy.   * This keeps any necessary information handy.
Line 275  struct texi {
Line 292  struct texi {
         size_t            indexsz; /* entries in indexs */          size_t            indexsz; /* entries in indexs */
         struct texivalue *vals; /* @value entries */          struct texivalue *vals; /* @value entries */
         size_t            valsz; /* entries in vals */          size_t            valsz; /* entries in vals */
           struct teximacro *macros;
           size_t            macrosz;
         /*          /*
          * 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 298  void advance(struct texi *, const char *, size_t *);
Line 317  void advance(struct texi *, const char *, size_t *);
 size_t  advanceeoln(struct texi *, const char *, size_t, size_t *, int);  size_t  advanceeoln(struct texi *, const char *, size_t, size_t *, int);
 void    advanceto(struct texi *, const char *, size_t *, size_t);  void    advanceto(struct texi *, const char *, size_t *, size_t);
   
   char  **argparse(struct texi *, const char *, size_t, size_t *, size_t *, size_t);
   
 int     parsearg(struct texi *, const char *, size_t, size_t *, size_t);  int     parsearg(struct texi *, const char *, size_t, size_t *, size_t);
 void    parsebracket(struct texi *, const char *, size_t, size_t *);  void    parsebracket(struct texi *, const char *, size_t, size_t *);
 void    parsefile(struct texi *, const char *, int);  void    parsefile(struct texi *, const char *, int);
 int     parselinearg(struct texi *, const char *, size_t, size_t *);  int     parselinearg(struct texi *, const char *, size_t, size_t *);
 void    parseeof(struct texi *, const char *, size_t);  void    parseeof(struct texi *, const char *, size_t);
   void    parsemembuf(struct texi *, const char *, size_t);
 void    parseeoln(struct texi *, const char *, size_t, size_t *);  void    parseeoln(struct texi *, const char *, size_t, size_t *);
 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 *);
Line 310  void parseto(struct texi *, const char *, size_t, size
Line 332  void parseto(struct texi *, const char *, size_t, size
 void    texiabort(struct texi *, const char *)  void    texiabort(struct texi *, const char *)
                 __attribute__((noreturn));                  __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 *, struct teximacro **);
 void    texierr(struct texi *, const char *, ...)  void    texierr(struct texi *, const char *, ...)
                 __attribute__((format(printf, 2, 3)))                  __attribute__((format(printf, 2, 3)))
                 __attribute__((noreturn));                  __attribute__((noreturn));
Line 320  void teximacro(struct texi *, const char *);
Line 343  void teximacro(struct texi *, const char *);
 void    teximacroclose(struct texi *);  void    teximacroclose(struct texi *);
 void    teximacroopen(struct texi *, const char *);  void    teximacroopen(struct texi *, const char *);
 void    texipunctuate(struct texi *, const char *, size_t, size_t *);  void    texipunctuate(struct texi *, const char *, size_t, size_t *);
   void    texiputbuf(struct texi *p, const char *, size_t, size_t);
 void    texiputchar(struct texi *p, char);  void    texiputchar(struct texi *p, char);
 void    texiputchars(struct texi *, const char *);  void    texiputchars(struct texi *, const char *);
 void    texivspace(struct texi *);  void    texivspace(struct texi *);

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

CVSweb