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
2024-09-14 17:59:50 +02:00
parent c24e18bf10
commit b12d312408
6 changed files with 81 additions and 16 deletions
+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",