From 5de2c7c45f7c9075575464c80041084d86fa493c Mon Sep 17 00:00:00 2001 From: Curtis 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(+) 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