aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repl/repl.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repl/repl.go b/repl/repl.go
index 4322fb4..8b7abb4 100644
--- a/repl/repl.go
+++ b/repl/repl.go
@@ -11,7 +11,7 @@ import (
"monkey/parser"
)
-const PROMPT = ">> "
+const prompt = ">> "
func Start(in io.Reader, out io.Writer) {
scanner := bufio.NewScanner(in)
@@ -19,7 +19,7 @@ func Start(in io.Reader, out io.Writer) {
macroEnv := object.NewEnvironment()
for {
- fmt.Print(PROMPT)
+ fmt.Print(prompt)
scanned := scanner.Scan()
if !scanned {
return