X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c6b1772473d0a26faa22464df98718d0d0ae2e2e..0906b12cd56f9777fb684b8a257a0e56c090a93c:/src/getargs.h diff --git a/src/getargs.h b/src/getargs.h index 4eb39812..3c081fe3 100644 --- a/src/getargs.h +++ b/src/getargs.h @@ -108,6 +108,18 @@ enum trace /** What debug items bison displays during its run. */ extern int trace_flag; +/*-------------. +| --features. | +`-------------*/ + +enum feature + { + feature_none = 0, /**< No additional feature. */ + feature_caret = 1 << 0, /**< Enhance the output of errors with carets. */ + feature_all = ~0 /**< All above features. */ + }; +/** What additional features to use. */ +extern int feature_flag; /** Process the command line arguments. *