summaryrefslogtreecommitdiff
path: root/src/options.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-09-30 14:29:00 +0100
committerVincent Sanders <vince@kyllikki.org>2015-09-30 14:29:00 +0100
commitac6ae0a7b545dbf3391760cfe9e6b86ce0c579db (patch)
treefcae63b386940df295fb1de624ef08eb773c9b90 /src/options.h
parent476bc961ae4c490dfa0f09293c5611451bb42599 (diff)
downloadnsgenbind-ac6ae0a7b545dbf3391760cfe9e6b86ce0c579db.tar.gz
nsgenbind-ac6ae0a7b545dbf3391760cfe9e6b86ce0c579db.tar.bz2
Implement putforwards processing.
interface attributes with the putforwards extended attribute call the setter specified in that extended attribute. The WebIDL is supposed to ensure the attribute is readonly before allowing a putforwards but we only warn about this as there are several examples where readonly is omitted.
Diffstat (limited to 'src/options.h')
-rw-r--r--src/options.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/options.h b/src/options.h
index 5b7d73d..d452c17 100644
--- a/src/options.h
+++ b/src/options.h
@@ -28,9 +28,10 @@ extern struct options *options;
enum opt_warnings {
WARNING_UNIMPLEMENTED = 1,
WARNING_DUPLICATED = 2,
+ WARNING_WEBIDL = 4,
};
-#define WARNING_ALL (WARNING_UNIMPLEMENTED | WARNING_DUPLICATED)
+#define WARNING_ALL (WARNING_UNIMPLEMENTED | WARNING_DUPLICATED | WARNING_WEBIDL)
#define WARN(flags, msg, args...) do { \
if ((options->warnings & flags) != 0) { \