lst_to_matrix() takes a "lst &" instead of an "ex &"
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Fri, 23 Mar 2001 17:50:01 +0000 (17:50 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Fri, 23 Mar 2001 17:50:01 +0000 (17:50 +0000)
ginsh/ginsh_parser.yy

index d715347677e03068c829c855cccd271595f7c784..c81ea4a8255f92f30c3e02856215c5c189ac8a12 100644 (file)
@@ -221,7 +221,7 @@ exp : T_NUMBER              {$$ = $1;}
        | exp '!'               {$$ = factorial($1);}
        | '(' exp ')'           {$$ = $2;}
        | '[' list_or_empty ']' {$$ = $2;}
-       | T_MATRIX_BEGIN matrix T_MATRIX_END    {$$ = lst_to_matrix($2);}
+       | T_MATRIX_BEGIN matrix T_MATRIX_END    {$$ = lst_to_matrix(ex_to_lst($2));}
        ;
 
 exprseq        : exp                   {$$ = exprseq($1);}