start meta tokens correctly

This commit is contained in:
Ryan Fleury
2026-07-27 14:47:37 -07:00
parent e55fa733fd
commit a27dc03ca2
+5
View File
@@ -2493,6 +2493,11 @@ txt_token_array_from_data(Arena *arena, TXT_LangKind lang_kind, TXT_TokenPt ctx_
active_token_kind = TXT_TokenKind_BlockComment;
advance = 2;
}
else if(byte == '#')
{
active_token_kind = TXT_TokenKind_Meta;
advance = 1;
}
else if(byte == '~' || byte == '!' ||
byte == '%' || byte == '^' ||
byte == '&' || byte == '*' ||