Use the new parser in the ex(const string&, lst&) ctor.
[ginac.git] / ginac / ex.cpp
index 377b15b411745057cc61fb187468aee19eab9e5d..7becb3e172da764458a6a28251c1526e8beec511 100644 (file)
@@ -553,17 +553,6 @@ basic & ex::construct_from_double(double d)
        return *bp;
 }
 
-ptr<basic> 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
 //////////