]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh_parser.yy
lst_to_matrix() takes a "lst &" instead of an "ex &"
[ginac.git] / 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);}