Skip to content

Commit

Permalink
add comments to srg reader
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Jul 25, 2024
1 parent 2b795ac commit 24fdb57
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ object SrgReader : FormatReader {
while (!input.exhausted()) {
input.takeWhitespace()
val key = input.takeNextLiteral(sep = ' ') ?: continue
if (key.startsWith("#")) {
input.takeLine()
continue
}
when (key) {
"PK:" -> {
val src = input.takeNextLiteral(sep = ' ')!!
Expand Down

0 comments on commit 24fdb57

Please sign in to comment.