KCC - Kayte C Compiler 1.10.0
A C compiler implementation with preprocessor, lexer, parser, and code generator
Loading...
Searching...
No Matches
Preprocessor Struct Reference

Data Fields

Macro macros [MAX_MACROS]
int macro_count
ConditionalState cond_stack [32]
int cond_stack_depth
IncludeFile include_stack [MAX_INCLUDE_DEPTH]
int include_depth
char * output
size_t output_size
size_t output_capacity
char * current_file
int current_line
bool skip_lines

Detailed Description

Definition at line 12 of file preprocessor.h.

Field Documentation

◆ cond_stack

ConditionalState Preprocessor::cond_stack[32]

Definition at line 18 of file preprocessor.h.

◆ cond_stack_depth

int Preprocessor::cond_stack_depth

Definition at line 19 of file preprocessor.h.

◆ current_file

char* Preprocessor::current_file

Definition at line 31 of file preprocessor.h.

◆ current_line

int Preprocessor::current_line

Definition at line 32 of file preprocessor.h.

◆ include_depth

int Preprocessor::include_depth

Definition at line 23 of file preprocessor.h.

◆ include_stack

IncludeFile Preprocessor::include_stack[MAX_INCLUDE_DEPTH]

Definition at line 22 of file preprocessor.h.

◆ macro_count

int Preprocessor::macro_count

Definition at line 15 of file preprocessor.h.

◆ macros

Macro Preprocessor::macros[MAX_MACROS]

Definition at line 14 of file preprocessor.h.

◆ output

char* Preprocessor::output

Definition at line 26 of file preprocessor.h.

◆ output_capacity

size_t Preprocessor::output_capacity

Definition at line 28 of file preprocessor.h.

◆ output_size

size_t Preprocessor::output_size

Definition at line 27 of file preprocessor.h.

◆ skip_lines

bool Preprocessor::skip_lines

Definition at line 33 of file preprocessor.h.


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