Skip to content

Commit

Permalink
fix some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
54L1M committed Jan 27, 2024
1 parent 5aed974 commit 48165c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repl/repl.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import (
"github.com/54L1m/mil-lang/token"
)

const PROMPT = ">>"
const PROMPT = ">> "

func Start(in io.Reader, out io.Writer) {
scanner := bufio.NewScanner(in)

for {
fmt.Fprintf(out, PROMPT)
fmt.Fprint(out, PROMPT)
scanned := scanner.Scan()
if !scanned {
return
Expand Down

0 comments on commit 48165c3

Please sign in to comment.