i3
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 <configuration.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 34 of file configuration.h.

Field Documentation

◆ compact_error

char* context::compact_error

Definition at line 42 of file configuration.h.

◆ filename

const char* context::filename

Definition at line 40 of file configuration.h.

Referenced by parse_config(), and parse_file().

◆ first_column

int context::first_column

Definition at line 45 of file configuration.h.

◆ has_errors

bool context::has_errors

◆ has_warnings

bool context::has_warnings

Definition at line 36 of file configuration.h.

Referenced by parse_file().

◆ last_column

int context::last_column

Definition at line 46 of file configuration.h.

◆ line_copy

char* context::line_copy

Definition at line 39 of file configuration.h.

Referenced by parse_file().

◆ line_number

int context::line_number

Definition at line 38 of file configuration.h.


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