diff options
author | Vincent Sanders <vince@kyllikki.org> | 2013-01-02 21:47:13 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2013-01-02 21:47:13 +0000 |
commit | 2b722f1ccfecc75ed93651543c9ba22a849396a1 (patch) | |
tree | 23c681240e72b15aa65f418ce78b385c2d13f33a /test | |
parent | 3b19d1d1ad88ba63ae821b2aedd4005466ed52fa (diff) | |
download | nsgenbind-2b722f1ccfecc75ed93651543c9ba22a849396a1.tar.gz nsgenbind-2b722f1ccfecc75ed93651543c9ba22a849396a1.tar.bz2 |
extend binding DSL with prologue and epilogue stanzas
Diffstat (limited to 'test')
-rw-r--r-- | test/data/bindings/window.bnd | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/data/bindings/window.bnd b/test/data/bindings/window.bnd index 50ffe51..e59f65a 100644 --- a/test/data/bindings/window.bnd +++ b/test/data/bindings/window.bnd @@ -1,6 +1,5 @@ /* binding to generate window */ -#include "dom.bnd" webidlfile "html.idl"; @@ -18,6 +17,16 @@ preamble %{ %} +prologue %{ +/* prologue comment */ +%} + +epilogue %{ +/* epilogue comment */ +%} + +#include "dom.bnd" + binding window { type js_libdom; /* the binding type */ |