chore: add comment for reason of unreading byte

lua5.4
TorchedSammy 2022-04-02 15:53:39 -04:00
parent 48ab7c13ac
commit f94d7ac81f
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ func DoFile(rtm *rt.Runtime, path string) error {
return err
}
// unread so a char won't be missing
err = reader.UnreadByte()
if err != nil {
return err