Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

error.c File Reference

#include "c.h"
#include "token.h"

Include dependency graph for error.c:

Include dependency graph

Go to the source code of this file.

Defines

#define xx(a, b, c, d, e, f, g)   f,
#define yy(a, b, c, d, e, f, g)   f,

Functions

void error (const char *fmt,...)
void expect (int tok)
int fatal (const char *name, const char *fmt, int n)
void printtoken (void)
void skipto (int tok, char set[])
void test (int tok, char set[])
void warning (const char *fmt,...)

Variables

int errcnt = 0
int errlimit = 20
char kind []
int wflag


Define Documentation

#define xx a,
b,
c,
d,
e,
f,
 )     f,
 

#define yy a,
b,
c,
d,
e,
f,
 )     f,
 


Function Documentation

void error const char *  fmt,
  ...
 

Definition at line 167 of file error.c.

Referenced by allocate(), array(), atop(), backslash(), builtin(), caselabel(), checklab(), checkref(), control(), dclglobal(), dcllocal(), dclparam(), dclr1(), decl(), deref(), doadefine(), doconcat(), dodefine(), doglobal(), doinclude(), domalloc(), enumdcl(), eval(), evalop(), exitparams(), expand(), expandrow(), expr1(), fcon(), fillbuf(), freturn(), func(), funcdefn(), gatherargs(), genconst(), gettok(), gettokens(), growtokenrow(), initializer(), initvalue(), intexpr(), newfield(), newhideset(), newstruct(), oldparam(), opt(), parameters(), ppnumber(), process(), program(), qual(), retcode(), scon(), setup(), specifier(), statement(), stmtlabel(), stringify(), structdcl(), substargs(), swstmt(), and tokval().

void expect int  tok  ) 
 

Definition at line 158 of file error.c.

Referenced by compound(), dcllocal(), dclr1(), dostmt(), forstmt(), funcdefn(), ifstmt(), parameters(), statement(), stmtlabel(), swstmt(), and whilestmt().

int fatal const char *  name,
const char *  fmt,
int  n
 

Definition at line 208 of file error.c.

void printtoken void   )  [static]
 

Definition at line 218 of file error.c.

void skipto int  tok,
char  set[]
 

Definition at line 183 of file error.c.

Referenced by initializer(), parameters(), and statement().

void test int  tok,
char  set[]
 

Definition at line 148 of file error.c.

Referenced by CG_TargetCommand_f(), decl(), enumdcl(), FacetsForPatch(), FacetsForTriangleSurface(), forstmt(), initend(), initializer(), InitSurfacesForTesting(), IsPentium(), RecursiveLeafFlow(), SelectSplitSide(), statement(), structdcl(), Sys_ScanForCD(), TraceLine(), UI_BotSelectMenu_Default(), UI_hasSkinForBase(), VL_CalcVisibleLightmapPixelArea(), VL_FacetsForPatch(), VL_FacetsForTriangleSurface(), VL_FindAdjacentSurface(), VL_FixLightmapEdges(), VL_GetFilter(), VL_InitSurfacesForTesting(), VL_LightSurfaceWithVolume(), VL_LinkSurfaces(), VL_R_CastLightAtSurface(), VL_R_FloodLight(), VL_ShiftPatchLightmaps(), VL_SmoothenLightmapEdges(), VL_StoreLightmap(), VL_SurfaceRadiosity(), VS_CalcVisibleLightmapPixelArea(), VS_FacetsForPatch(), VS_FacetsForTriangleSurface(), VS_FindAdjacentSurface(), VS_FixLightmapEdges(), VS_GetFilter(), VS_InitSurfacesForTesting(), VS_LightSurfaceWithVolume(), VS_LinkSurfaces(), VS_R_CastLightAtSurface(), VS_R_FloodLight(), VS_ShiftPatchLightmaps(), VS_SmoothenLightmapEdges(), VS_StoreLightmap(), and VS_SurfaceRadiosity().

void warning const char *  fmt,
  ...
 

Definition at line 261 of file error.c.

Referenced by addd(), addi(), array(), backslash(), branch(), caselabel(), checkref(), code(), conditional(), cput(), dclglobal(), dcllocal(), dclparam(), dclr(), decl(), divd(), divi(), enumdcl(), exitscope(), fcon(), funcdefn(), gettok(), icon(), initfields(), iscallb(), muld(), muli(), parameters(), program(), qual(), resynch(), retcode(), root1(), scon(), simplify(), specifier(), statement(), swcode(), swstmt(), Sys_Warn(), typename(), typestring(), and Warning().


Variable Documentation

int errcnt = 0
 

Definition at line 5 of file error.c.

int errlimit = 20
 

Definition at line 6 of file error.c.

Referenced by main_init().

char kind[]
 

Definition at line 7 of file error.c.

Referenced by code(), compound(), dclr1(), decl(), forstmt(), funcdefn(), parameters(), program(), reachable(), statement(), uid2symbol(), and uid2type().

int wflag
 

Definition at line 146 of file error.c.

Referenced by main_init().


Generated on Thu Aug 25 15:54:14 2005 for Quake III Arena by  doxygen 1.3.9.1