language: prepare for struct support

This commit is contained in:
2023-11-06 21:37:27 -08:00
parent e3bfa3fbfc
commit 8c48c93663
18 changed files with 42 additions and 41 deletions

View File

@ -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> =