language: prepare for struct support

This commit is contained in:
alex committed 2023-11-06 21:37:27 -08:00
1 parent e3bfa3fbfc
commit 8c48c93663
18 files changed
+42 -41

No files matched your search

@@ -76,6 +76,7 @@ enum class TokenType(vararg val properties: TokenTypeProperty) {
))),
BlockComment(CharConsume(MatchedCharConsumer("/*", "*/")), CommentFamily),
LineComment(CharConsume(MatchedCharConsumer("//", "\n", AllowEofTermination)), CommentFamily),
Struct(ManyChars("struct"), KeywordFamily),
EndOfFile;
val promotions: List<Promotion> =