main.hh
changeset 956 513809fbfaf9
parent 946 c012a64dc2fa
child 980 9ed5aff159db
equal deleted inserted replaced
955:5e2e7707f770 956:513809fbfaf9
    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 pre_parsing;              /* Support forward references (Run a pre-parsing phase before the defintive parsing phase that builds the AST) */
    43 	bool safe_extensions;          /* support SAFE_* datatypes defined in PLCOpen TC5 "Safety Software Technical Specification - Part 1" v1.0 */
    44 	bool safe_extensions;          /* support SAFE_* datatypes defined in PLCOpen TC5 "Safety Software Technical Specification - Part 1" v1.0 */
    44 	bool full_token_loc;           /* error messages specify full token location */
    45 	bool full_token_loc;           /* error messages specify full token location */
    45 	bool conversion_functions;     /* Create a conversion function for derived datatype */
    46 	bool conversion_functions;     /* Create a conversion function for derived datatype */
    46 	bool nested_comments;          /* Allow the use of nested comments. */
    47 	bool nested_comments;          /* Allow the use of nested comments. */
    47 	bool ref_standard_extensions;  /* Allow the use of REFerences (keywords REF_TO, REF, DREF, ^, NULL). */
    48 	bool ref_standard_extensions;  /* Allow the use of REFerences (keywords REF_TO, REF, DREF, ^, NULL). */