summaryrefslogtreecommitdiff
path: root/src/webidl-lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/webidl-lexer.l')
-rw-r--r--src/webidl-lexer.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webidl-lexer.l b/src/webidl-lexer.l
index 4788610..a857654 100644
--- a/src/webidl-lexer.l
+++ b/src/webidl-lexer.l
@@ -215,6 +215,10 @@ legacyiterable return TOK_LEGACYITERABLE;
required return TOK_REQUIRED;
+Constructor return TOK_CONSTRUCTOR;
+
+NamedConstructor return TOK_NAMEDCONSTRUCTOR;
+
{identifier} {
/* A leading "_" is used to escape an identifier from
* looking like a reserved word terminal. */