From d0e9835bbd95ca428161c75eb28a556343b98b53 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 4 Oct 2016 13:35:59 -0400 Subject: Fix whitespace handling in rpn --- .bin/rpn.c | 1 + 1 file changed, 1 insertion(+) (limited to '.bin/rpn.c') diff --git a/.bin/rpn.c b/.bin/rpn.c index a33296cf..d5be9cbf 100755 --- a/.bin/rpn.c +++ b/.bin/rpn.c @@ -91,6 +91,7 @@ static bool stack_op(char op) { break; case '>': a = pop(); push(pop() >> a); break; case '.': a = pop(); printf("%s\n", fmt(stack.radix, a)); break; case ',': a = pop(); printf("%c\n", (char) a); + break; case ' ': break; default: return false; } return true; -- cgit 1.4.1