Revert "Changed the parser such that it understands all defined functions"
[ginac.git] / ginac / parser / parser.cpp
index 0674383338d5de02b92a406c23a0db1dd922d3f0..42a7ae2b8c529583586f0c32784f7de5c4175b6b 100644 (file)
@@ -24,7 +24,6 @@
 #include "lexer.h"
 #include "debug.h"
 #include "mul.h"
-#include "function.h"
 #include "constant.h"
 
 #include <sstream>
@@ -66,7 +65,7 @@ ex parser::parse_identifier_expr()
                Parse_error_("no function \"" << name << "\" with " <<
                             args.size() << " arguments");
        }
-       ex ret = function(reader->second, args);
+       ex ret = reader->second(args);
        return ret;
 }