core/odin: Added new file tag syntax as token. parse_file stores a list of tags that the file tag parser can use later.

This commit is contained in:
Karl Zylinski committed 2024-09-14 17:59:50 +02:00
1 parent c24e18bf10
commit b12d312408
6 files changed
+81 -16

No files matched your search

+2
View File
@@ -32,6 +32,7 @@ Token_Kind :: enum u32 {
Invalid,
EOF,
Comment,
File_Tag,
B_Literal_Begin,
Ident, // main
@@ -166,6 +167,7 @@ tokens := [Token_Kind.COUNT]string {
"Invalid",
"EOF",
"Comment",
"FileTag",
"",
"identifier",