diff options
| author | gingerBill <bill@gingerbill.org> | 2018-11-11 17:08:30 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-11-11 17:08:30 +0000 |
| commit | b55b1ffe14bc4a7459cd9b9bdb8b9b0c8f7f8091 (patch) | |
| tree | 77df172a7e387801f9f43999dcc412a6fb5b71be /src/parser.hpp | |
| parent | 620d5d34f7c5712be27a92e1ab6ab48119f0a4c6 (diff) | |
`opaque` keyword and type
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser.hpp b/src/parser.hpp index 825e26f32..6a59f05a6 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -434,6 +434,10 @@ AST_KIND(_TypeBegin, "", bool) \ Token token; \ Ast *type; \ }) \ + AST_KIND(OpaqueType, "opaque type", struct { \ + Token token; \ + Ast *type; \ + }) \ AST_KIND(PolyType, "polymorphic type", struct { \ Token token; \ Ast * type; \ |