=================================================================== RCS file: /cvs/texi2mdoc/extern.h,v retrieving revision 1.23 retrieving revision 1.26 diff -u -p -r1.23 -r1.26 --- texi2mdoc/extern.h 2015/03/01 16:57:39 1.23 +++ texi2mdoc/extern.h 2015/03/05 08:35:35 1.26 @@ -1,4 +1,4 @@ -/* $Id: extern.h,v 1.23 2015/03/01 16:57:39 kristaps Exp $ */ +/* $Id: extern.h,v 1.26 2015/03/05 08:35:35 kristaps Exp $ */ /* * Copyright (c) 2015 Kristaps Dzonsons * @@ -55,6 +55,7 @@ enum texicmd { TEXICMD_AT, TEXICMD_AUTHOR, TEXICMD_B, + TEXICMD_BACKSLASH, TEXICMD_BANG, TEXICMD_BULLET, TEXICMD_BYE, @@ -376,7 +377,7 @@ struct texi { size_t chapnum; /* current chapter node */ char **dirs; /* texi directories */ size_t dirsz; /* number of texi directories */ - FILE *outfile; + FILE *outfile; /* current output stream */ /* * Run-time parameters. */ @@ -393,6 +394,8 @@ struct texi { size_t valsz; /* entries in vals */ struct teximacro *macros; /* @macro entries */ size_t macrosz; /* entries in macros */ + char *copying; /* the @copying block */ + size_t copyingsz; /* length of @copying */ /* * The following control what we output to the screen. * The complexity is required to accomodate for mdoc(7). @@ -404,6 +407,7 @@ struct texi { int seenvs; /* newline has been Pp'd */ int ign; /* if >0, don't print anything */ int literal; /* if >0, literal context */ + int uppercase; /* if >0, uppercase */ }; #define BUF(_p) ((_p)->files[(_p)->filepos - 1].map)