summaryrefslogtreecommitdiff
path: root/src/duk-libdom-interface.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-10-24 21:08:56 +0100
committerVincent Sanders <vince@kyllikki.org>2015-10-24 21:08:56 +0100
commit2c193d1fa01e116d7cdb1b5dd0f3cd8497bf7ef6 (patch)
tree821c06d3fa369971a4dc2f4edb827ebd656ea8d4 /src/duk-libdom-interface.c
parent0f8a9def0c9480c884da9c3021f55a8e30324e45 (diff)
downloadnsgenbind-2c193d1fa01e116d7cdb1b5dd0f3cd8497bf7ef6.tar.gz
nsgenbind-2c193d1fa01e116d7cdb1b5dd0f3cd8497bf7ef6.tar.bz2
improve unimplemented warning to include type modifier
Diffstat (limited to 'src/duk-libdom-interface.c')
-rw-r--r--src/duk-libdom-interface.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/duk-libdom-interface.c b/src/duk-libdom-interface.c
index a57c520..77a58b0 100644
--- a/src/duk-libdom-interface.c
+++ b/src/duk-libdom-interface.c
@@ -1316,7 +1316,8 @@ output_attribute_getter(FILE* outf,
"Unimplemented: getter %s::%s(%s);",
interfacee->name,
atributee->name,
- webidl_type_to_str(atributee->base_type));
+ webidl_type_to_str(atributee->type_modifier,
+ atributee->base_type));
if (options->dbglog) {
fprintf(outf, "\tLOG(\"Unimplemented\");\n" );
@@ -1472,8 +1473,8 @@ output_attribute_setter(FILE* outf,
"Unimplemented: setter %s::%s(%s);",
interfacee->name,
atributee->name,
- webidl_type_to_str(atributee->base_type));
-
+ webidl_type_to_str(atributee->type_modifier,
+ atributee->base_type));
if (options->dbglog) {
fprintf(outf, "\tLOG(\"Unimplemented\");\n" );
}