diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-09-30 14:29:00 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-09-30 14:29:00 +0100 |
commit | ac6ae0a7b545dbf3391760cfe9e6b86ce0c579db (patch) | |
tree | fcae63b386940df295fb1de624ef08eb773c9b90 /src/options.h | |
parent | 476bc961ae4c490dfa0f09293c5611451bb42599 (diff) | |
download | nsgenbind-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.h | 3 |
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) { \ |