X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fparser%2Fparser_compat.cpp;h=856856ad62fea2ea025ce45d7f83945544786526;hb=1109fafaa3f5da6d1483744c4bdee6f01a37c5c5;hp=942ec0f76430dc8cad222fef254339d8ce98ebee;hpb=2afa71937b3c12cdc70f01213baa8a92be4b604a;p=ginac.git diff --git a/ginac/parser/parser_compat.cpp b/ginac/parser/parser_compat.cpp index 942ec0f7..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-2015 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);