X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=warning.c;h=2c4ce12f5b91d48d243c6af535854ef38adff6dc;hb=2e7e36a9f01d1dc07e450ab3ecf082a133b3099e;hp=8de3339e35b0acb0c301fc8aecbbdafd981dfc0b;hpb=c6083a78b21bc4e8a9bed0fe21b042b873e23fc7;p=cparser diff --git a/warning.c b/warning.c index 8de3339..2c4ce12 100644 --- a/warning.c +++ b/warning.c @@ -53,6 +53,7 @@ warning_t warning = { .old_style_definition = false, .packed = false, .padded = false, + .parentheses = false, .pointer_arith = true, .redundant_decls = true, .return_type = true, @@ -104,6 +105,7 @@ void set_warning_opt(const char *const opt) SET(init_self); SET(main); SET(nonnull); + SET(parentheses); SET(pointer_arith); SET(redundant_decls); SET(return_type); @@ -166,6 +168,7 @@ void set_warning_opt(const char *const opt) OPT("old-style-definition", old_style_definition); OPT("packed", packed); OPT("padded", padded); + OPT("parentheses", parentheses); OPT("pointer-arith", pointer_arith); OPT("redundant-decls", redundant_decls); OPT("return-type", return_type);