Browse Source

Remove useless code

Damian Tarnawski 1 year ago
parent
commit
7862460374
1 changed files with 0 additions and 12 deletions
  1. 0 12
      core/odin/parser/file_tags.odin

+ 0 - 12
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[:]