From 3f121f88099dc4e87b73ae35cf6520f400724ad3 Mon Sep 17 00:00:00 2001 From: Eduardo Cavazos Date: Fri, 16 May 2008 17:09:38 -0500 Subject: [PATCH] shell.parser: Fix bug in ast>pipeline-expr --- extra/shell/parser/parser.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/shell/parser/parser.factor b/extra/shell/parser/parser.factor index 46548bb34f..2ecca6199c 100644 --- a/extra/shell/parser/parser.factor +++ b/extra/shell/parser/parser.factor @@ -23,8 +23,8 @@ TUPLE: factor-expr expr ; pipeline-expr new over [ 1st ] [ 4th [ 1st ] map ] [ 5th ] tri suffix prefix-on >>commands over 2nd >>stdin - over 5th >>stdout - swap 6th >>background ; + over 6th >>stdout + swap 7th >>background ; : ast>single-quoted-expr ( ast -- obj ) 2nd >string single-quoted-expr boa ;