diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2021-04-30 14:06:58 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2021-04-30 14:06:58 -0400 |
commit | c625ed1cfe7f7ea4ab2a75a8a0a6a6772f86431c (patch) | |
tree | 55aab8a27a6cd3b0a979002afa6899a4bda94b74 /src/main.go | |
parent | 60f7c4f7272079e635010e464d8ce3a3a427f97f (diff) |
Destroy my own code by using goto
Diffstat (limited to 'src/main.go')
-rw-r--r-- | src/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.go b/src/main.go index c74d0cb..e6efcd9 100644 --- a/src/main.go +++ b/src/main.go @@ -37,7 +37,7 @@ func main() { tokens := tparse.TokenizeFile(*inputFile) tree := tparse.MakeTree(&tokens, *inputFile) - fd.WriteString(fmt.Sprint(tree)) + fd.WriteString(fmt.Sprint(tree) + "\n") fd.Close() } |