error_world.c File Reference

Detailed Description

Implementation of world error and warning functions.

See Also
error_world.h

Definition in file error_world.c.

Functions

int ReadWorlderror (const char *s)
 Syntax errors in .world files. More...
 

Variables

unsigned int RWline =0
 Number of the line currently parsed when reading a .world file. More...
 

Function Documentation

int ReadWorlderror ( const char *  s)

This function is called by the .world file parser when encountering syntax errors.

Parameters
sA string generated by Bison (Normally it contains "Syntax Error").
Returns
EXIT_FAILURE.
See Also
error.h

Definition at line 47 of file error_world.c.

References Error(), and RWline.

Variable Documentation

unsigned int RWline =0

Number of the line currently parsed when reading a .world file.

Definition at line 45 of file error_world.c.

Referenced by ReadWorlderror().