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)  

error_routines.c File Reference
#include "cpascal.h"
#include "parser.h"
#include "error_routines.h"
Include dependency graph for error_routines.c:

Go to the source code of this file.

Functions

void lex_error_1 (const_string fmt, int item)
 
void lex_error_s (const_string fmt, const_string item)
 
void lex_error_s_1 (const_string fmt, const_string item, int item1)
 
void yyerror (const_string fmt)
 
void warning_0 (const_string fmt)
 
void warning_1 (const_string fmt, int item)
 
void warning_2 (const_string fmt, int item, int item2)
 
void warning_s (const_string fmt, const_string item)
 
void warning_s_1 (const_string fmt, const_string item, int item1)
 
void warning_s_2 (const_string fmt, const_string item, int item1, int item2)
 
void fatal_error_0 (const_string fmt)
 
void fatal_error_1 (const_string fmt, int item)
 
void fatal_error_2 (const_string fmt, int item, int item2)
 
void fatal_error_s (const_string fmt, const_string item)
 
void internal_error_0 (const_string fmt)
 
void internal_error_1 (const_string fmt, int item)
 

Variables

int num_errors = 0
 

Function Documentation

◆ fatal_error_0()

◆ fatal_error_1()

void fatal_error_1 ( const_string  fmt,
int  item 
)

Definition at line 129 of file error_routines.c.

References exit(), fmt, fprintf, item, and line_number.

Referenced by compute_ofm_character_info(), ofm_organize(), and set_new_kern().

◆ fatal_error_2()

void fatal_error_2 ( const_string  fmt,
int  item,
int  item2 
)

Definition at line 138 of file error_routines.c.

References exit(), fmt, fprintf, item, and line_number.

Referenced by ofm_organize().

◆ fatal_error_s()

void fatal_error_s ( const_string  fmt,
const_string  item 
)

Definition at line 147 of file error_routines.c.

References exit(), fmt, fprintf, item, and line_number.

Referenced by read_in_whole(), and scan_string().

◆ internal_error_0()

◆ internal_error_1()

◆ lex_error_1()

void lex_error_1 ( const_string  fmt,
int  item 
)

Definition at line 38 of file error_routines.c.

References fmt, fprintf, item, and line_number.

Referenced by scan_char(), scan_hex_string(), and yylex().

◆ lex_error_s()

void lex_error_s ( const_string  fmt,
const_string  item 
)

Definition at line 46 of file error_routines.c.

References fmt, fprintf, item, and line_number.

Referenced by scan_fix(), and scan_int().

◆ lex_error_s_1()

void lex_error_s_1 ( const_string  fmt,
const_string  item,
int  item1 
)

Definition at line 54 of file error_routines.c.

References fmt, fprintf, item, and line_number.

Referenced by scan_string().

◆ warning_0()

◆ warning_1()

◆ warning_2()

void warning_2 ( const_string  fmt,
int  item,
int  item2 
)

Definition at line 88 of file error_routines.c.

References fmt, fprintf, item, and line_number.

Referenced by check_ligature_infinite_loops(), compute_ofm_extra_stuff(), and out_ofm_scaled().

◆ warning_s()

void warning_s ( const_string  fmt,
const_string  item 
)

Definition at line 96 of file error_routines.c.

References fmt, fprintf, item, and line_number.

Referenced by main().

◆ warning_s_1()

void warning_s_1 ( const_string  fmt,
const_string  item,
int  item1 
)

Definition at line 104 of file error_routines.c.

References fmt, fprintf, item, and line_number.

Referenced by doublecheck_existence().

◆ warning_s_2()

void warning_s_2 ( const_string  fmt,
const_string  item,
int  item1,
int  item2 
)

Definition at line 112 of file error_routines.c.

References fmt, fprintf, item, and line_number.

Referenced by check_existence_and_safety().

◆ yyerror()

void yyerror ( const_string  fmt)

Definition at line 62 of file error_routines.c.

References fmt, fprintf, line_number, and num_errors.

Variable Documentation

◆ num_errors

int num_errors = 0

Definition at line 28 of file error_routines.c.

Referenced by main(), and yyerror().