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 33 of file config.h.

Field Documentation

char* context::compact_error

Definition at line 41 of file config.h.

const char* context::filename

Definition at line 39 of file config.h.

Referenced by parse_file(), and yyerror().

int context::first_column

Definition at line 44 of file config.h.

Referenced by yyerror().

bool context::has_errors
bool context::has_warnings

Definition at line 35 of file config.h.

Referenced by migrate_i3bar_exec(), parse_file(), and yyparse().

int context::last_column

Definition at line 45 of file config.h.

Referenced by yyerror().

char* context::line_copy

Definition at line 38 of file config.h.

Referenced by parse_file(), and yyerror().

int context::line_number

Definition at line 37 of file config.h.

Referenced by yyerror().


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