aboutsummaryrefslogtreecommitdiff
path: root/repl
diff options
context:
space:
mode:
authorDimitri Sokolyuk <sokolyuk@gmail.com>2022-08-24 14:19:10 +0200
committerDimitri Sokolyuk <sokolyuk@gmail.com>2022-08-24 14:19:10 +0200
commit6293378bb84702e9cbfc392158114c07d23d9642 (patch)
tree1a713613d7e166b9e180e83ecede1658c37efde8 /repl
parent52be3f62da85d2e6a4bba77c234b181a14354523 (diff)
...
Diffstat (limited to 'repl')
-rw-r--r--repl/repl.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repl/repl.go b/repl/repl.go
index 5537174..41bfe79 100644
--- a/repl/repl.go
+++ b/repl/repl.go
@@ -46,7 +46,7 @@ func Start(in io.Reader, out io.Writer) {
}
}
-const MONKEY_FACE = ` __,__
+const monkeyFace = ` __,__
.--. .-" "-. .--.
/ .. \/ .-. .-. \/ .. \
| | '| / Y \ |' | |
@@ -60,7 +60,7 @@ const MONKEY_FACE = ` __,__
`
func printParserErrors(out io.Writer, errors []string) {
- io.WriteString(out, MONKEY_FACE)
+ io.WriteString(out, monkeyFace)
io.WriteString(out, "Woops! We ran into some monkey business here!\n")
io.WriteString(out, " parser errors:\n")
for _, msg := range errors {