main.hh
changeset 1022 0d4d3a502d82
parent 1014 a61f8f58f612
equal deleted inserted replaced
1008:59435d4c5e0c 1022:0d4d3a502d82
    38 
    38 
    39 /* Compiler options, specified at runtime on the command line */
    39 /* Compiler options, specified at runtime on the command line */
    40 
    40 
    41 typedef struct {
    41 typedef struct {
    42    /* options specific to stage1_2 */
    42    /* options specific to stage1_2 */
       
    43 	bool allow_void_datatype;      /* Allow declaration of functions returning VOID  */
       
    44 	bool allow_missing_var_in;     /* Allow definition and invocation of POUs with no input, output and in_out parameters! */
       
    45 	bool disable_implicit_en_eno;  /* Disable the generation of implicit EN and ENO parameters on functions and Function Blocks */
    43 	bool pre_parsing;              /* Support forward references (Run a pre-parsing phase before the defintive parsing phase that builds the AST) */
    46 	bool pre_parsing;              /* Support forward references (Run a pre-parsing phase before the defintive parsing phase that builds the AST) */
    44 	bool safe_extensions;          /* support SAFE_* datatypes defined in PLCOpen TC5 "Safety Software Technical Specification - Part 1" v1.0 */
    47 	bool safe_extensions;          /* support SAFE_* datatypes defined in PLCOpen TC5 "Safety Software Technical Specification - Part 1" v1.0 */
    45 	bool full_token_loc;           /* error messages specify full token location */
    48 	bool full_token_loc;           /* error messages specify full token location */
    46 	bool conversion_functions;     /* Create a conversion function for derived datatype */
    49 	bool conversion_functions;     /* Create a conversion function for derived datatype */
    47 	bool nested_comments;          /* Allow the use of nested comments. */
    50 	bool nested_comments;          /* Allow the use of nested comments. */