w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

ChkTeX.c File Reference
#include "ChkTeX.h"
#include <getopt.h>
#include "OpSys.h"
#include "Utility.h"
#include "FindErrs.h"
#include "Resource.h"
#include <string.h>
Include dependency graph for ChkTeX.c:

Go to the source code of this file.

Macros

#define MSG(num, type, inuse, ctxt, text)   {(enum ErrNum)num, type, inuse, ctxt, text},
 
#define DEF(type, name, value)   type name = value
 
#define ThisItem   ((char *) AbbrevCase.Stack.Data[i])
 
#define NOCOMMON(a, b)   NoCommon(&a,#a,&b,#b)
 
#define KEY(a, def)
 
#define LCASE(a)
 
#define LIST(a)
 
#define LNEMPTY(a)   InsertWord("", &a);
 
#define DEF(type, name, value)   name = value
 
#define BOOLDISP(var)   ((var)? OnText : OffText)
 
#define SHOWSTAT(text, arg)   fprintf(stderr, "\t" text ": %s\n", arg)
 
#define BOOLSTAT(name, var)   SHOWSTAT(name, BOOLDISP(var))
 
#define SHOWSTR(text, arg)   fprintf(stderr, "%s:\n\t%s\n", text, arg);
 
#define LNEMPTY   LIST
 
#define LIST(a)   ShowWL(#a, &a);
 
#define LCASE(a)   LIST(a); LIST(a ## Case);
 
#define KEY(a, def)   SHOWSTR(#a, a);
 
#define LNEMPTY   LIST
 
#define LIST(a)   ClearWord(&a);
 
#define LCASE(a)   LIST(a); LIST(a ## Case);
 
#define KEY(a, def)   a = def;
 
#define DEF(type, name, value)   name = value
 

Functions

static int ParseArgs (int argc, char **argv)
 
static void ShowIntStatus (void)
 
static int OpenOut (void)
 
static int ShiftArg (char **Argument)
 
static void AddStars (struct WordList *wl)
 
static void SetupLists (void)
 
static void NoCommon (struct WordList *a, char *aName, struct WordList *b, char *bName)
 
static void ExpandTabs (char *From, char *To, long TSize, long MaxDiff)
 
int main (int argc, char **argv)
 
static void ShowWL (char *Name, struct WordList *wl)
 
static void ResetStacks (void)
 
static void ResetSettings (void)
 
static int ParseNumArg (long *Dest, long Default, char **Argument)
 
static int ParseBoolArg (int *Dest, char **Argument)
 
void PrintPrgErr (enum PrgErrNum Error,...)
 
void ErrPrintf (char *fmt,...)
 

Variables

struct ErrMsg PrgMsgs [pmMaxFault+1]
 
struct Stack CharStack
 
struct Stack InputStack
 
struct Stack EnvStack
 
char BrOrder [6+1] = "()[]{}"
 
unsigned long Brackets [6]
 
static char _TmpBuffer [BUFSIZ+(4<< 1)] = {0}
 
char * TmpBuffer = &_TmpBuffer [ 4 ]
 
static char _ReadBuffer [BUFSIZ+(4<< 1)] = {0}
 
char * ReadBuffer = &_ReadBuffer [ 4 ]
 
static char * Banner
 
static char * BigBanner
 
static char * Distrib
 
static char * OnText = "On"
 
static char * OffText = "Off"
 
static char * HowHelp
 
static char * HelpText
 
enum Quote Quote
 
char VerbNormal [] = "%k %n in %f line %l: %m\n" "%r%s%t\n" "%u\n"
 
int GlobalRC = 1L
 
int WipeVerb = 1L
 
int BackupOut = 1L
 
int Quiet = 0L
 
int LicenseOnly = 0L
 
int UsingStdIn = 0L
 
int InputFiles = 1L
 
int HeadErrOut = 1L
 
char * OutputName = ""
 
char * PseudoInName = NULL
 
char * OutputFormat = VerbNormal
 
char * PipeOutputFormat = NULL
 
char * Delimit = ":"
 
long DebugLevel = 0
 
int NoLineSupp = 0L
 
enum ItState ItState = itOff
 
int AtLetter = 0L
 
int InHeader = 1L
 
int VerbMode = 0L
 
long MathMode = 0
 
char * VerbStr = ""
 
unsigned long ErrPrint = 0
 
unsigned long WarnPrint = 0
 
unsigned long UserSupp = 0
 
unsigned long LineSupp = 0
 
uint64_t FileSuppressions = 0
 
uint64_t UserFileSuppressions = 0
 
FILEOutputFile = NULL
 
char * PrgName
 
int StdInTTY
 
int StdOutTTY
 

Macro Definition Documentation

◆ BOOLDISP

#define BOOLDISP (   var)    ((var)? OnText : OffText)

Definition at line 596 of file ChkTeX.c.

◆ BOOLSTAT

#define BOOLSTAT (   name,
  var 
)    SHOWSTAT(name, BOOLDISP(var))

Definition at line 598 of file ChkTeX.c.

◆ DEF [1/3]

#define DEF (   type,
  name,
  value 
)    type name = value

Definition at line 199 of file ChkTeX.c.

◆ DEF [2/3]

#define DEF (   type,
  name,
  value 
)    name = value

Definition at line 199 of file ChkTeX.c.

◆ DEF [3/3]

#define DEF (   type,
  name,
  value 
)    name = value

Definition at line 199 of file ChkTeX.c.

◆ KEY [1/3]

#define KEY (   a,
  def 
)

Definition at line 703 of file ChkTeX.c.

◆ KEY [2/3]

#define KEY (   a,
  def 
)    SHOWSTR(#a, a);

Definition at line 703 of file ChkTeX.c.

◆ KEY [3/3]

#define KEY (   a,
  def 
)    a = def;

Definition at line 703 of file ChkTeX.c.

◆ LCASE [1/3]

#define LCASE (   a)

Definition at line 702 of file ChkTeX.c.

◆ LCASE [2/3]

#define LCASE (   a)    LIST(a); LIST(a ## Case);

Definition at line 702 of file ChkTeX.c.

◆ LCASE [3/3]

#define LCASE (   a)    LIST(a); LIST(a ## Case);

Definition at line 702 of file ChkTeX.c.

◆ LIST [1/3]

#define LIST (   a)

Definition at line 701 of file ChkTeX.c.

◆ LIST [2/3]

#define LIST (   a)    ShowWL(#a, &a);

Definition at line 701 of file ChkTeX.c.

◆ LIST [3/3]

#define LIST (   a)    ClearWord(&a);

Definition at line 701 of file ChkTeX.c.

◆ LNEMPTY [1/3]

#define LNEMPTY (   a)    InsertWord("", &a);

Definition at line 700 of file ChkTeX.c.

◆ LNEMPTY [2/3]

#define LNEMPTY   LIST

Definition at line 700 of file ChkTeX.c.

◆ LNEMPTY [3/3]

#define LNEMPTY   LIST

Definition at line 700 of file ChkTeX.c.

◆ MSG

#define MSG (   num,
  type,
  inuse,
  ctxt,
  text 
)    {(enum ErrNum)num, type, inuse, ctxt, text},

Definition at line 43 of file ChkTeX.c.

◆ NOCOMMON

#define NOCOMMON (   a,
  b 
)    NoCommon(&a,#a,&b,#b)

Definition at line 272 of file ChkTeX.c.

◆ SHOWSTAT

#define SHOWSTAT (   text,
  arg 
)    fprintf(stderr, "\t" text ": %s\n", arg)

Definition at line 597 of file ChkTeX.c.

◆ SHOWSTR

#define SHOWSTR (   text,
  arg 
)    fprintf(stderr, "%s:\n\t%s\n", text, arg);

Definition at line 599 of file ChkTeX.c.

◆ ThisItem

#define ThisItem   ((char *) AbbrevCase.Stack.Data[i])

Function Documentation

◆ AddStars()

static void AddStars ( struct WordList wl)
static

Definition at line 223 of file ChkTeX.c.

References Count, Stack::Data, FORWL, InsertWord(), WordList::Stack, strcpy(), strlen(), and TmpBuffer.

Referenced by SetupLists().

◆ ErrPrintf()

void ErrPrintf ( char *  fmt,
  ... 
)

Definition at line 1080 of file ChkTeX.c.

References fmt, va_end, and va_start.

◆ ExpandTabs()

static void ExpandTabs ( char *  From,
char *  To,
long  TSize,
long  MaxDiff 
)
static

Definition at line 296 of file ChkTeX.c.

References BUFSIZ, Diff, memset(), pmTabExpands, PrintPrgErr(), strchr, strcpy(), and strncpy().

Referenced by main().

◆ main()

◆ NoCommon()

static void NoCommon ( struct WordList a,
char *  aName,
struct WordList b,
char *  bName 
)
static

Definition at line 279 of file ChkTeX.c.

References a, b, bName, FORWL, HasWord(), i, pmNoCommon, and PrintPrgErr().

◆ OpenOut()

◆ ParseArgs()

◆ ParseBoolArg()

static int ParseBoolArg ( int Dest,
char **  Argument 
)
static

Definition at line 751 of file ChkTeX.c.

References D, FALSE, L, ParseNumArg(), and TRUE.

Referenced by ParseArgs().

◆ ParseNumArg()

static int ParseNumArg ( long *  Dest,
long  Default,
char **  Argument 
)
static

Definition at line 734 of file ChkTeX.c.

References Default, isdigit, ShiftArg(), and strtol().

Referenced by ParseArgs(), and ParseBoolArg().

◆ PrintPrgErr()

◆ ResetSettings()

static void ResetSettings ( void  )
static

Definition at line 716 of file ChkTeX.c.

References fclose, OPTION_DEFAULTS, OutputFile, and fc-lang::stdout.

Referenced by ParseArgs().

◆ ResetStacks()

static void ResetStacks ( void  )
static

Definition at line 705 of file ChkTeX.c.

References RESOURCE_INFO.

Referenced by ParseArgs().

◆ SetupLists()

static void SetupLists ( void  )
static

◆ ShiftArg()

static int ShiftArg ( char **  Argument)
static

Definition at line 771 of file ChkTeX.c.

Referenced by ParseArgs(), and ParseNumArg().

◆ ShowIntStatus()

◆ ShowWL()

static void ShowWL ( char *  Name,
struct WordList wl 
)
static

Variable Documentation

◆ _ReadBuffer

char _ReadBuffer[BUFSIZ+(4<< 1)] = {0}
static

Definition at line 75 of file ChkTeX.c.

◆ _TmpBuffer

char _TmpBuffer[BUFSIZ+(4<< 1)] = {0}
static

Definition at line 74 of file ChkTeX.c.

◆ AtLetter

int AtLetter = 0L

Definition at line 201 of file ChkTeX.c.

◆ BackupOut

int BackupOut = 1L

Definition at line 200 of file ChkTeX.c.

Referenced by OpenOut(), ParseArgs(), and ShowIntStatus().

◆ Banner

char* Banner
static
Initial value:
=
"ChkTeX v" PACKAGE_VERSION " - Copyright 1995-96 Jens T. Berger Thielemann.\n"
"Compiled with no regex support."
"\n"
#define PACKAGE_VERSION
Definition: config.h:105

Definition at line 77 of file ChkTeX.c.

Referenced by main(), and ParseArgs().

◆ BigBanner

char* BigBanner
static
Initial value:
=
"ChkTeX comes with ABSOLUTELY NO WARRANTY; details on this and\n"
"distribution conditions in the GNU General Public License file.\n"
"Type \"ChkTeX -h\" for help, \"ChkTeX -i\" for distribution info.\n"
"Author: Jens Berger.\n"
"Bug reports: https://savannah.nongnu.org/bugs/?group=chktex\n"
" or darthandrus@gmail.com\n"
"Press " "stdin break combination" " to terminate stdin input.\n"

Definition at line 95 of file ChkTeX.c.

Referenced by main(), and ParseArgs().

◆ Brackets

unsigned long Brackets[6]

Definition at line 63 of file ChkTeX.c.

Referenced by AddBracket(), main(), and PrintStatus().

◆ BrOrder

char BrOrder[6+1] = "()[]{}"

Definition at line 61 of file ChkTeX.c.

Referenced by MatchBracket(), and PrintStatus().

◆ CharStack

struct Stack CharStack
Initial value:
= {
0L
}
@ L
Definition: ubidiimp.h:45

Definition at line 1 of file ChkTeX.c.

Referenced by HandleBracket(), and PrintStatus().

◆ DebugLevel

long DebugLevel = 0

Definition at line 200 of file ChkTeX.c.

Referenced by main(), ParseArgs(), ShowIntStatus(), and ShowWL().

◆ Delimit

char* Delimit = ":"

Definition at line 200 of file ChkTeX.c.

Referenced by ParseArgs(), and PerformCommand().

◆ Distrib

char* Distrib
static
Initial value:
=
"\n"
"This program is free software; you can redistribute it and/or modify\n"
"it under the terms of the GNU General Public License as published by\n"
"the Free Software Foundation; either version 2 of the License, or\n"
"(at your option) any later version.\n"
"\n"
"This program is distributed in the hope that it will be useful,\n"
"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
"GNU General Public License for more details.\n"
"\n"
"You should have received a copy of the GNU General Public License\n"
"along with this program; if not, write to the Free Software\n"
"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n"

Definition at line 104 of file ChkTeX.c.

Referenced by main().

◆ EnvStack

struct Stack EnvStack
Initial value:
=
{
0L}

Definition at line 54 of file ChkTeX.c.

Referenced by PerformBigCmd(), and PrintStatus().

◆ ErrPrint

unsigned long ErrPrint = 0

Definition at line 201 of file ChkTeX.c.

Referenced by PerformCommand(), and PrintStatus().

◆ FileSuppressions

uint64_t FileSuppressions = 0

Definition at line 201 of file ChkTeX.c.

Referenced by PreProcess().

◆ GlobalRC

int GlobalRC = 1L

Definition at line 200 of file ChkTeX.c.

Referenced by ParseArgs(), and ShowIntStatus().

◆ HeadErrOut

int HeadErrOut = 1L

Definition at line 200 of file ChkTeX.c.

Referenced by ParseArgs(), PerformCommand(), and ShowIntStatus().

◆ HelpText

char* HelpText
static

Definition at line 127 of file ChkTeX.c.

Referenced by ParseArgs().

◆ HowHelp

char* HowHelp
static
Initial value:
=
"-h or --help gives usage information. See also ChkTeX.{ps,dvi}.\n"

Definition at line 124 of file ChkTeX.c.

Referenced by ParseArgs().

◆ InHeader

int InHeader = 1L

Definition at line 201 of file ChkTeX.c.

Referenced by PerformBigCmd(), and PerformCommand().

◆ InputFiles

int InputFiles = 1L

Definition at line 200 of file ChkTeX.c.

Referenced by ParseArgs(), and ShowIntStatus().

◆ InputStack

struct Stack InputStack
Initial value:
=
{
0L}

Definition at line 51 of file ChkTeX.c.

Referenced by FindErr(), HandleBracket(), main(), PerformBigCmd(), PrintStatus(), and PushErr().

◆ ItState

Definition at line 200 of file ChkTeX.c.

◆ LicenseOnly

int LicenseOnly = 0L

Definition at line 200 of file ChkTeX.c.

Referenced by main(), ParseArgs(), and ShowIntStatus().

◆ LineSupp

unsigned long LineSupp = 0

Definition at line 201 of file ChkTeX.c.

Referenced by PerformCommand(), and PrintStatus().

◆ MathMode

long MathMode = 0

◆ NoLineSupp

int NoLineSupp = 0L

Definition at line 200 of file ChkTeX.c.

Referenced by ParseArgs(), PreProcess(), and ShowIntStatus().

◆ OffText

char* OffText = "Off"
static

Definition at line 122 of file ChkTeX.c.

◆ OnText

char* OnText = "On"
static

Definition at line 120 of file ChkTeX.c.

◆ OutputFile

FILE* OutputFile = NULL

Definition at line 203 of file ChkTeX.c.

Referenced by main(), one_liner(), OpenOut(), PerformCommand(), ResetSettings(), and run_sam2p_engine().

◆ OutputFormat

Definition at line 200 of file ChkTeX.c.

◆ OutputName

char* OutputName = ""

Definition at line 200 of file ChkTeX.c.

Referenced by OpenOut(), and ParseArgs().

◆ PipeOutputFormat

char* PipeOutputFormat = NULL

Definition at line 200 of file ChkTeX.c.

Referenced by main(), and ParseArgs().

◆ PrgMsgs

struct ErrMsg PrgMsgs[pmMaxFault+1]
Initial value:
= {
{(enum ErrNum) pmMinFault , etWarn , 1L , 0 , "INTERNAL FAULT OCCURED! PLEASE SUBMIT A BUG REPORT!\n" }, {(enum ErrNum) pmNoFileMatch , etWarn , 1L , 0 , "No files matched the pattern `%s'." }, {(enum ErrNum) pmNoTeXOpen , etWarn , 1L , 0 , "Unable to open the TeX file `%s'." }, {(enum ErrNum) pmRename , etMsg , 1L , 0 , "Renaming `%s' as `%s'." }, {(enum ErrNum) pmRenameErr , etErr , 1L , 0 , "Could not rename `%s' to `%s'." }, {(enum ErrNum) pmOutOpen , etErr , 1L , 0 , "Unable to open output file." }, {(enum ErrNum) pmOutTwice , etErr , 1L , 0 , "You can specify output file only once." }, {(enum ErrNum) pmStrDupErr , etErr , 1L , 0 , "Unable to duplicate strings - no memory?" }, {(enum ErrNum) pmWordListErr , etErr , 1L , 0 , "Unable to create wordlist - no memory?" }, {(enum ErrNum) pmNoStackMem , etErr , 1L , 0 , "Unable to create stack - no memory?\n" }, {(enum ErrNum) pmWarnNumErr , etErr , 1L , 0 , "Illegal warning number used." }, {(enum ErrNum) pmVerbLevErr , etErr , 1L , 0 , "Illegal verbosity level." }, {(enum ErrNum) pmNotPSDigit , etWarn , 1L , 0 , "`%c' is not a %s digit - ignored!" }, {(enum ErrNum) pmEscCode , etWarn , 1L , 0 , "Unknown escape code `%c%c' - ignored!" }, {(enum ErrNum) pmKeyWord , etErr , 1L , 0 , "Unsupported control word (`%s') encountered in file `%s'." }, {(enum ErrNum) pmFaultFmt , etErr , 1L , 0 , "\"%s\", line %d: Faulty format - unexpected %s found." }, {(enum ErrNum) pmRsrcOpen , etWarn , 1L , 0 , "Could not open `%s', may cause unwanted behaviour." }, {(enum ErrNum) pmSlowAbbr , etMsg , 0L , 0 , "The abbreviation `%s' requires slow abbreviation searching." }, {(enum ErrNum) pmEmptyToken , etWarn , 1L , 0 , "Empty token isolated in `%s' - probably faulty format" }, {(enum ErrNum) pmAssert , etErr , 1L , 0 , "Assertion failed. Please report bug." }, {(enum ErrNum) pmNoRsrc , etWarn , 1L , 0 , "Could not find global resource file." }, {(enum ErrNum) pmQuoteStyle , etWarn , 1L , 0 , "Illegal quotestyle `%s'." }, {(enum ErrNum) pmWrongWipeTemp , etWarn , 1L , 0 , "Wrong template for wiping arguments, \"%s\"" }, {(enum ErrNum) pmSpecifyTerm , etErr , 1L , 0 , "Specify a terminal type with `setenv TERM <yourtype>'." }, {(enum ErrNum) pmNoTermData , etErr , 1L , 0 , "Could not access the termcap data base." }, {(enum ErrNum) pmNoTermDefd , etErr , 1L , 0 , "Terminal type `%s' is not defined." }, {(enum ErrNum) pmNoRegExp , etWarn , 1L , 0 , "Regular expressions not compiled in. Please recompile." }, {(enum ErrNum) pmNoCommon , etErr , 1L , 0 , "`%s' can't be a member of both `%s' and `%s'." }, {(enum ErrNum) pmNoOpenDir , etWarn , 1L , 0 , "Could not open the directory `%s'." }, {(enum ErrNum) pmNoDebugFlag , etWarn , 1L , 0 , "This version of doesn't support the -d flag. Please recompile." }, {(enum ErrNum) pmNoRegexMem , etErr , 1L , 0 , "Unable to allocate regular expressions - no memory?\n" }, {(enum ErrNum) pmRegexCompileFailed , etWarn , 1L , 0 , "Compilation of regular expression %s failed with error %s.\n" }, {(enum ErrNum) pmRegexMatchingError , etErr , 1L , 0 , "PCRE matching error %d.\n" }, {(enum ErrNum) pmSuppTooHigh , etWarn , 1L , 0 , "Warning %d is numbered too high (max %d) and won't be suppressed.\n" }, {(enum ErrNum) pmLongLines , etWarn , 1L , 0 , "ChkTeX does not handle lines over %d bytes correctly. Some errors and line numbers may be wrong in this file." }, {(enum ErrNum) pmTabExpands , etWarn , 1L , 0 , "ChkTeX could not fully expand tabs because the resulting line would be more than %d bytes. Some errors and line numbers may be wrong in this file." }, {(enum ErrNum)pmMaxFault, etErr, 1L , 0, "INTERNAL FAULT OCCURED! PLEASE SUBMIT A BUG REPORT!\n" }
}
@ pmLongLines
Definition: ChkTeX.h:270
@ pmQuoteStyle
Definition: ChkTeX.h:270
@ pmKeyWord
Definition: ChkTeX.h:270
@ pmWarnNumErr
Definition: ChkTeX.h:270
@ pmRsrcOpen
Definition: ChkTeX.h:270
@ pmSpecifyTerm
Definition: ChkTeX.h:270
@ pmNoTeXOpen
Definition: ChkTeX.h:270
@ pmNoTermDefd
Definition: ChkTeX.h:270
@ pmNoDebugFlag
Definition: ChkTeX.h:270
@ pmEscCode
Definition: ChkTeX.h:270
@ pmNotPSDigit
Definition: ChkTeX.h:270
@ pmNoTermData
Definition: ChkTeX.h:270
@ pmSuppTooHigh
Definition: ChkTeX.h:270
@ pmOutTwice
Definition: ChkTeX.h:270
@ pmAssert
Definition: ChkTeX.h:270
@ pmVerbLevErr
Definition: ChkTeX.h:270
@ pmRegexMatchingError
Definition: ChkTeX.h:270
@ pmNoCommon
Definition: ChkTeX.h:270
@ pmNoRegExp
Definition: ChkTeX.h:270
@ pmNoStackMem
Definition: ChkTeX.h:270
@ pmMinFault
Definition: ChkTeX.h:270
@ pmStrDupErr
Definition: ChkTeX.h:270
@ pmWordListErr
Definition: ChkTeX.h:270
@ pmTabExpands
Definition: ChkTeX.h:270
@ pmNoRsrc
Definition: ChkTeX.h:270
@ pmFaultFmt
Definition: ChkTeX.h:270
@ pmNoOpenDir
Definition: ChkTeX.h:270
@ pmEmptyToken
Definition: ChkTeX.h:270
@ pmNoRegexMem
Definition: ChkTeX.h:270
@ pmRegexCompileFailed
Definition: ChkTeX.h:270
@ pmSlowAbbr
Definition: ChkTeX.h:270
@ pmOutOpen
Definition: ChkTeX.h:270
@ pmWrongWipeTemp
Definition: ChkTeX.h:270
@ pmNoFileMatch
Definition: ChkTeX.h:270
@ pmRename
Definition: ChkTeX.h:270
@ pmRenameErr
Definition: ChkTeX.h:270
@ pmMaxFault
Definition: ChkTeX.h:270
ErrNum
Definition: FindErrs.h:137

Definition at line 1 of file ChkTeX.c.

Referenced by PrintPrgErr().

◆ PrgName

char* PrgName

Definition at line 205 of file ChkTeX.c.

Referenced by main(), PrintPrgErr(), and SetupVars().

◆ PseudoInName

char* PseudoInName = NULL

Definition at line 200 of file ChkTeX.c.

Referenced by CurStkName(), and ParseArgs().

◆ Quiet

int Quiet = 0L

Definition at line 200 of file ChkTeX.c.

Referenced by main(), ParseArgs(), PrintStatus(), and ShowIntStatus().

◆ Quote

enum Quote Quote

Definition at line 127 of file ChkTeX.c.

◆ ReadBuffer

char* ReadBuffer = &_ReadBuffer [ 4 ]

Definition at line 75 of file ChkTeX.c.

Referenced by main(), and ReadRC().

◆ StdInTTY

int StdInTTY

Definition at line 207 of file ChkTeX.c.

Referenced by main().

◆ StdOutTTY

int StdOutTTY

Definition at line 207 of file ChkTeX.c.

Referenced by main().

◆ TmpBuffer

char* TmpBuffer = &_TmpBuffer [ 4 ]

Definition at line 74 of file ChkTeX.c.

Referenced by AddStars(), CheckAbbrevs(), CheckRest(), main(), and OpenOut().

◆ UserFileSuppressions

uint64_t UserFileSuppressions = 0

Definition at line 201 of file ChkTeX.c.

Referenced by PreProcess().

◆ UserSupp

unsigned long UserSupp = 0

Definition at line 201 of file ChkTeX.c.

Referenced by PerformCommand(), and PrintStatus().

◆ UsingStdIn

int UsingStdIn = 0L

Definition at line 200 of file ChkTeX.c.

Referenced by main(), and ShowIntStatus().

◆ VerbMode

int VerbMode = 0L

Definition at line 201 of file ChkTeX.c.

Referenced by CheckDots(), FindErr(), and PerformEnv().

◆ VerbNormal

char VerbNormal[] = "%k %n in %f line %l: %m\n" "%r%s%t\n" "%u\n"

Definition at line 197 of file ChkTeX.c.

◆ VerbStr

char* VerbStr = ""

Definition at line 201 of file ChkTeX.c.

Referenced by CheckDots(), and PerformEnv().

◆ WarnPrint

unsigned long WarnPrint = 0

Definition at line 201 of file ChkTeX.c.

Referenced by PerformCommand(), and PrintStatus().

◆ WipeVerb

int WipeVerb = 1L

Definition at line 200 of file ChkTeX.c.

Referenced by ParseArgs(), PerformBigCmd(), and ShowIntStatus().