summaryrefslogtreecommitdiff
path: root/src/nsgenbind-lexer.l
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-08-05 22:58:05 +0100
committerVincent Sanders <vince@kyllikki.org>2015-08-05 22:58:05 +0100
commitdca5aa6db8f0dbcae283aee21605d8d1a85d7f94 (patch)
tree9c885d3bcedde0fbe557c63d61a385a0097a64d0 /src/nsgenbind-lexer.l
parent619dbd53bc4624e3a4e9bb291e61ed358272d009 (diff)
downloadnsgenbind-dca5aa6db8f0dbcae283aee21605d8d1a85d7f94.tar.gz
nsgenbind-dca5aa6db8f0dbcae283aee21605d8d1a85d7f94.tar.bz2
Add ptototype method type to binding
This allows additional cdata to be added to the generated prototype constructor.
Diffstat (limited to 'src/nsgenbind-lexer.l')
-rw-r--r--src/nsgenbind-lexer.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nsgenbind-lexer.l b/src/nsgenbind-lexer.l
index f7b6528..d092195 100644
--- a/src/nsgenbind-lexer.l
+++ b/src/nsgenbind-lexer.l
@@ -135,6 +135,8 @@ getter return TOK_GETTER;
setter return TOK_SETTER;
+prototype return TOK_PROTOTYPE;
+
/* other terminals */
{dblcolon} return TOK_DBLCOLON;