diff options
author | Victor Santet <victor.santet@epita.fr> | 2012-06-28 16:44:20 +0200 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2012-06-28 17:06:20 +0200 |
commit | d0f11c1b628c0bd3d11614a796da30cfd7dce927 (patch) | |
tree | 464069f450461692831106799ca5e0641444ff7e /src/getargs.h | |
parent | 327db05b226e6435185a9ac59ec0b5c162613e36 (diff) | |
download | bison-d0f11c1b628c0bd3d11614a796da30cfd7dce927.tar.gz |
warnings: move them to complain.c.
* src/getargs.h, src/getargs.c (warnings, warnings_flags): Move to...
* src/complain.h, src/complain.c: Here.
Diffstat (limited to 'src/getargs.h')
-rw-r--r-- | src/getargs.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/getargs.h b/src/getargs.h index 9fc9aab9..4eb39812 100644 --- a/src/getargs.h +++ b/src/getargs.h @@ -108,24 +108,6 @@ enum trace /** What debug items bison displays during its run. */ extern int trace_flag; -/*-------------. -| --warnings. | -`-------------*/ - -enum warnings - { - Wnone = 0, /**< Issue no warnings. */ - Werror = 1 << 0, /**< Warnings are treated as errors. */ - Wmidrule_values = 1 << 1, /**< Unset or unused midrule values. */ - Wyacc = 1 << 2, /**< POSIXME. */ - Wconflicts_sr = 1 << 3, /**< S/R conflicts. */ - Wconflicts_rr = 1 << 4, /**< R/R conflicts. */ - Wother = 1 << 5, /**< All other warnings. */ - Wall = ~Werror /**< All above warnings. */ - }; -/** What warnings are issued. */ -extern int warnings_flag; - /** Process the command line arguments. * |