From f9dacddfe39ba67a70890b2bde2e3ddb8d1b0705 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Sep 2015 23:16:58 +0100 Subject: Process extended attributes for constructors Extended attributes for constructors and named constructors are now parsed into the AST as operations ready to be used to generate output. --- src/webidl-lexer.l | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/webidl-lexer.l') 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. */ -- cgit v1.2.3