Re: [PATCH 1/2] Re-work level setting on checks code

2012-07-08 Thread Jon Loeliger
> Currently each of the semantic checks in checks.c has a "level" between > IGNORE and ERROR. This single level makes it awkward to implement the > semantics we want for toggling the checks on the command line. > > This patch reworks the code to instead have separate boolean flags for > warning a

[PATCH 1/2] Re-work level setting on checks code

2012-07-08 Thread David Gibson
Currently each of the semantic checks in checks.c has a "level" between IGNORE and ERROR. This single level makes it awkward to implement the semantics we want for toggling the checks on the command line. This patch reworks the code to instead have separate boolean flags for warning and error. A