X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fparser%2Fparser.cpp;h=df616a41fcfe18307135234bf2cab0d1b95a3cb6;hp=fe4e1747512f60924274286cd363df244c9be7d8;hb=9985e28882888663fd8e43e8c59728ddcad552d0;hpb=227c0507d513360c31cd16484e08215e1a506363 diff --git a/ginac/parser/parser.cpp b/ginac/parser/parser.cpp index fe4e1747..df616a41 100644 --- a/ginac/parser/parser.cpp +++ b/ginac/parser/parser.cpp @@ -3,7 +3,7 @@ * Implementation of GiNaC's parser. */ /* - * GiNaC Copyright (C) 1999-2016 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 @@ -93,7 +93,7 @@ ex parser::parse_identifier_expr() // Eat the ')'. get_next_tok(); prototype the_prototype = make_pair(name, args.size()); - prototype_table::const_iterator reader = funcs.find(the_prototype); + auto reader = funcs.find(the_prototype); if (reader == funcs.end()) { Parse_error_("no function \"" << name << "\" with " << args.size() << " arguments"); @@ -158,7 +158,7 @@ ex parser::parse_unary_expr() // -(a) // +a // +(a) - // Delegete the work to parse_binop_rhs(), otherwise we end up + // Delegate the work to parse_binop_rhs(), otherwise we end up // duplicating it here. ex lhs = _ex0; // silly trick ex e = parse_binop_rhs(0, lhs);