Verilog Parser
verilog_preprocessor_conditional_context Struct Reference

Stores information regarding a particular level of conditional compilation. More...

#include <verilog_preprocessor.h>

Data Fields

char * condition
 The definition to check for.
 
ast_boolean condition_passed
 Did the condition pass?
 
ast_boolean is_ndef
 True if directive was `ifndef.
 
int line_number
 Where the `ifdef came from.
 
ast_boolean wait_for_endif
 Emit nothing more until `endif.
 

Detailed Description

Stores information regarding a particular level of conditional compilation.

A stack of these is maintained, each one relating to a different level of nested ifdef orifndef statements.


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