diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-09-30 23:16:58 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-09-30 23:16:58 +0100 |
commit | f9dacddfe39ba67a70890b2bde2e3ddb8d1b0705 (patch) | |
tree | 52b6ea46181cab6c030d86f52a4353aaeb3f73fb /src/webidl-lexer.l | |
parent | ac6ae0a7b545dbf3391760cfe9e6b86ce0c579db (diff) | |
download | nsgenbind-f9dacddfe39ba67a70890b2bde2e3ddb8d1b0705.tar.gz nsgenbind-f9dacddfe39ba67a70890b2bde2e3ddb8d1b0705.tar.bz2 |
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.
Diffstat (limited to 'src/webidl-lexer.l')
-rw-r--r-- | src/webidl-lexer.l | 4 |
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. */ |