typeid as keyword (ready to implement polymorphic name parameters)

This commit is contained in:
gingerBill
2018-09-02 15:56:36 +01:00
parent eb274cf316
commit 220485a2d2
16 changed files with 275 additions and 88 deletions
+4
View File
@@ -418,6 +418,10 @@ AST_KIND(_DeclEnd, "", bool) \
Ast *list; \
}) \
AST_KIND(_TypeBegin, "", bool) \
AST_KIND(TypeidType, "typeid", struct { \
Token token; \
Ast *specialization; \
}) \
AST_KIND(TypeType, "type", struct { \
Token token; \
Ast *specialization; \