/*
go.cypherpunks.ru/tai64n -- Pure Go TAI64N implementation
-Copyright (C) 2020 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
s = scanner.Text()
if s[0] != '@' {
os.Stdout.WriteString(s + "\n")
+ continue
}
sep = strings.IndexByte(s, byte(' '))
if sep == -1 {
os.Stdout.WriteString(s + "\n")
+ continue
}
t, err = tai64n.Decode(s[1:sep])
if err != nil {