X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh_parser.ypp;h=e224fda93cafb5a240b298673799678f04ba6d15;hp=61ed3893e9e8928e657cf58f518846ba7e4f5a21;hb=63453e8120d2e2eb9f1b836fc1b5651c2494ef1f;hpb=761d1597532504762c1f9b438c7727c4f74d7da3 diff --git a/ginsh/ginsh_parser.ypp b/ginsh/ginsh_parser.ypp index 61ed3893..e224fda9 100644 --- a/ginsh/ginsh_parser.ypp +++ b/ginsh/ginsh_parser.ypp @@ -4,7 +4,7 @@ * This file must be processed with yacc/bison. */ /* - * GiNaC Copyright (C) 1999-2017 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2020 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -45,6 +45,9 @@ #include "ginsh.h" +using namespace std; +using namespace GiNaC; + #define YYERROR_VERBOSE 1 #ifdef HAVE_LIBREADLINE @@ -439,7 +442,7 @@ static ex f_integer_content(const exprseq &e) static ex f_integral(const exprseq &e) { CHECK_ARG(0, symbol, integral); - return integral(e[0], e[1], e[2], e[3]); + return GiNaC::integral(e[0], e[1], e[2], e[3]); } static ex f_inverse(const exprseq &e) @@ -876,7 +879,7 @@ static void ginsh_readline_init(char* name) void greeting(void) { cout << "ginsh - GiNaC Interactive Shell (GiNaC V" << GINACLIB_VERSION << ")" << endl; - cout << " __, _______ Copyright (C) 1999-2017 Johannes Gutenberg University Mainz,\n" + cout << " __, _______ Copyright (C) 1999-2020 Johannes Gutenberg University Mainz,\n" << " (__) * | Germany. This is free software with ABSOLUTELY NO WARRANTY.\n" << " ._) i N a C | You are welcome to redistribute it under certain conditions.\n" << "<-------------' For details type `warranty;'.\n" << endl;