X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginsh%2Fginsh_parser.yy;h=ab300a42fec18879d2036154550ff52e82c5c81f;hb=4077d8b144e2e5f3db75cf95fbb590981b2eb8d4;hp=9783bf8cdb129711cf7b17c86925e025701ca292;hpb=93d02d3b90587f38cbc33cf25ee89795c415574c;p=ginac.git diff --git a/ginsh/ginsh_parser.yy b/ginsh/ginsh_parser.yy index 9783bf8c..ab300a42 100644 --- a/ginsh/ginsh_parser.yy +++ b/ginsh/ginsh_parser.yy @@ -4,7 +4,7 @@ * This file must be processed with yacc/bison. */ /* - * GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2011 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 @@ -304,7 +304,7 @@ row : exp {$$ = lst($1);} %% // Error print routine -int yyerror(char *s) +int yyerror(const char *s) { cerr << s << " at " << yytext << endl; return 0; @@ -899,7 +899,7 @@ static void ginsh_readline_init(char* name) void greeting(void) { cout << "ginsh - GiNaC Interactive Shell (" << PACKAGE << " V" << VERSION << ")" << endl; - cout << " __, _______ Copyright (C) 1999-2010 Johannes Gutenberg University Mainz,\n" + cout << " __, _______ Copyright (C) 1999-2011 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;