summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-src/src/Calculator.cpp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-21 22:04:56 +0000
committerKarl Berry <karl@freefriends.org>2020-03-21 22:04:56 +0000
commit263d098fe32f82fef6cb0ccb75a89862b9b4200a (patch)
treee0be54cf0a1d16d0048efaff673ab4eca0d960c2 /Build/source/texk/dvisvgm/dvisvgm-src/src/Calculator.cpp
parent9af6f4b19e87b817b84926042b4ee84445ddbb1d (diff)
dvisvgm 2.9.1
git-svn-id: svn://tug.org/texlive/trunk@54456 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/Calculator.cpp')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/src/Calculator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/Calculator.cpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/Calculator.cpp
index c5dc00df4d3..0fdcf0f2fa3 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/src/Calculator.cpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/Calculator.cpp
@@ -71,6 +71,7 @@ double Calculator::term (istream &is, bool skip) { // term:
for (;;)
switch (lookAhead(is)) {
case '*': left *= prim(is, true); break; // prim '*' prim => $1 * $3
+ case '(': left *= prim(is, false); break; // prim '*' prim => $1 * $3
case '/': { // prim '/' prim => $1 / $3
double denom = prim(is, true);
if (denom == 0)