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