Institut de Robòtica i Informàtica Industrial
KRD Group

The CuikSuite Project

error_world.h File Reference

Error function specific of the CuikWorld library. More...

Go to the source code of this file.

Functions

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

Detailed Description

A module that defines an error function used in the CuikWorld library when reading input files.

See also:
error_world.c, error.h.

Definition in file error_world.h.


Function Documentation

int ReadWorlderror ( const char *  s  ) 

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

Parameters:
s A 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.

Here is the call graph for this function: