]> gitweb.factorcode.org Git - factor.git/commitdiff
shell.parser: Fix bug in ast>pipeline-expr
authorEduardo Cavazos <dharmatech@finkelstein.stackeffects.info>
Fri, 16 May 2008 22:09:38 +0000 (17:09 -0500)
committerEduardo Cavazos <dharmatech@finkelstein.stackeffects.info>
Fri, 16 May 2008 22:09:38 +0000 (17:09 -0500)
extra/shell/parser/parser.factor

index 46548bb34f2f4ae696a03e039fa144773fab42af..2ecca6199c92ecd8ae4f724a297dab5027cbbffa 100644 (file)
@@ -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 ;