X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Finput_parser.yy;h=5df99b6639bca69a3bc3b7fd8e8e3cc9c56f74a0;hp=8ba5bf42f75544e19755349be17fea1b29733a46;hb=3a63743e24046766b37c3d1bd38605542ee0a536;hpb=742c72895d610550b021a1427a17437260f30d55 diff --git a/ginac/input_parser.yy b/ginac/input_parser.yy index 8ba5bf42..5df99b66 100644 --- a/ginac/input_parser.yy +++ b/ginac/input_parser.yy @@ -94,7 +94,7 @@ exp : T_NUMBER {$$ = $1;} | T_LITERAL {$$ = $1;} | T_DIGITS {$$ = $1;} | T_SYMBOL '(' exprseq ')' { - string n = ex_to($1).get_name(); + std::string n = ex_to($1).get_name(); if (n == "sqrt") { if ($3.nops() != 1) throw (std::runtime_error("too many arguments to sqrt()"));