mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user