X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fex.cpp;h=7becb3e172da764458a6a28251c1526e8beec511;hp=377b15b411745057cc61fb187468aee19eab9e5d;hb=95bec2b8af126412b2e27b51e6bfd8d9ab18d5d7;hpb=3324b2f0f035490940b1a9d7cf5dc210776f6d87 diff --git a/ginac/ex.cpp b/ginac/ex.cpp index 377b15b4..7becb3e1 100644 --- a/ginac/ex.cpp +++ b/ginac/ex.cpp @@ -553,17 +553,6 @@ basic & ex::construct_from_double(double d) return *bp; } -ptr ex::construct_from_string_and_lst(const std::string &s, const ex &l) -{ - set_lexer_string(s); - set_lexer_symbols(l); - ginac_yyrestart(NULL); - if (ginac_yyparse()) - throw (std::runtime_error(get_parser_error())); - else - return parsed_ex.bp; -} - ////////// // static member variables //////////