~jacksonchen666/brainfuck_interpreter

f117f973df1f3329f1e210f638eafb5d08d8eac4 — Jackson Chen 1 year, 1 month ago beb214e
graceful error handling in ,
1 files changed, 1 insertions(+), 1 deletions(-)

M brainfuck.go
M brainfuck.go => brainfuck.go +1 -1
@@ 80,7 80,7 @@ func (ps *ProgramState) Step() error {
	case ',':
		char, err := getChar()
		if err != nil {
			panic(err) // TODO: something more graceful
			return err
		}
		currentMemory = char
		// TODO: finish instruction set