i3
Data Fields
context Struct Reference

Used during the config file lexing/parsing to keep the state of the lexer in order to provide useful error messages in yyerror(). More...

#include <config.h>

Data Fields

bool has_errors
 
bool has_warnings
 
int line_number
 
char * line_copy
 
const char * filename
 
char * compact_error
 
int first_column
 
int last_column
 

Detailed Description

Used during the config file lexing/parsing to keep the state of the lexer in order to provide useful error messages in yyerror().

Definition at line 32 of file config.h.

Field Documentation

char* context::compact_error

Definition at line 40 of file config.h.

const char* context::filename

Definition at line 38 of file config.h.

Referenced by parse_config(), and parse_file().

int context::first_column

Definition at line 43 of file config.h.

bool context::has_errors

Definition at line 33 of file config.h.

Referenced by check_for_duplicate_bindings(), parse_config(), and parse_file().

bool context::has_warnings

Definition at line 34 of file config.h.

Referenced by parse_file().

int context::last_column

Definition at line 44 of file config.h.

char* context::line_copy

Definition at line 37 of file config.h.

Referenced by parse_file().

int context::line_number

Definition at line 36 of file config.h.


The documentation for this struct was generated from the following file: