X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;ds=sidebyside;f=ginac%2Fparser%2Fparser_compat.cpp;h=856856ad62fea2ea025ce45d7f83945544786526;hb=1109fafaa3f5da6d1483744c4bdee6f01a37c5c5;hp=f7295a1c048d1826394db392cd368dc6f30ce38f;hpb=cca88b51436e4b654d16a4d60cd0d1c66fcf5dd6;p=ginac.git diff --git a/ginac/parser/parser_compat.cpp b/ginac/parser/parser_compat.cpp index f7295a1c..856856ad 100644 --- a/ginac/parser/parser_compat.cpp +++ b/ginac/parser/parser_compat.cpp @@ -3,7 +3,7 @@ * Parser interface compatible with the old (bison/flex based) parser. */ /* - * GiNaC Copyright (C) 1999-2014 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2018 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 @@ -34,7 +34,7 @@ static symtab make_symtab(const ex& l); ptr ex::construct_from_string_and_lst(const std::string &s, const ex &l) { - static const bool strict = true; + constexpr bool strict = true; symtab syms = make_symtab(l); parser reader(syms, strict); ex parsed_ex = reader(s);