aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamian Tarnawski <gthetarnav@gmail.com>2024-08-12 15:21:46 +0200
committerDamian Tarnawski <gthetarnav@gmail.com>2024-08-29 20:52:27 +0200
commit78624603741611936025f33ed31458833f4bc8fb (patch)
tree589546f36f2e51bd57f83296d7b87905e6819293
parent92821300e4aef1b647de50ae74c0f374879e8a30 (diff)
Remove useless code
-rw-r--r--core/odin/parser/file_tags.odin12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/odin/parser/file_tags.odin b/core/odin/parser/file_tags.odin
index 229f87f1c..371af8055 100644
--- a/core/odin/parser/file_tags.odin
+++ b/core/odin/parser/file_tags.odin
@@ -122,16 +122,6 @@ parse_file_tags :: proc(file: ast.File) -> (tags: File_Tags) {
}
}
}
- skip_rest_of_line :: proc(src: string, i: ^int) {
- for {
- switch next_char(src, i) {
- case '\n', 0:
- return
- case:
- continue
- }
- }
- }
scan_value :: proc(src: string, i: ^int) -> string {
start := i^
for {
@@ -245,8 +235,6 @@ parse_file_tags :: proc(file: ast.File) -> (tags: File_Tags) {
}
}
}
-
- skip_rest_of_line(text, &i)
}
tags.build = build_kinds[:]