summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-25 23:43:22 +0000
committerKarl Berry <karl@freefriends.org>2020-02-25 23:43:22 +0000
commite2376dbb900bf7207fb3d2553207e237337beebf (patch)
tree8fdc8c9022a24e7b5001c331b44bf1673f14442d /Build
parentc2b16ac983a7d8545771e80cf1f9fa4404e15c27 (diff)
patch from Martin G for C++ on NetBSD, using is.get instead of is.ignore
git-svn-id: svn://tug.org/texlive/trunk@53922 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.cpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.cpp
index f94e84809c1..8541410a56f 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.cpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.cpp
@@ -469,7 +469,7 @@ static const char* ord_suffix (int n) {
static void skip_comma_wsp (istream &is) {
is >> ws;
- if (is.peek() == ',') is.ignore(1);
+ if (is.peek() == ',') is.get();
is >> ws;
}
@@ -494,13 +494,13 @@ static size_t parse_transform_cmd (istream &is, string cmd, size_t minparams, si
params.push_back(val);
is >> ws;
if (i == minparams && is.peek() == ')') {
- is.ignore(1);
+ is.get();
return i;
}
if (i == maxparams) {
if (is.peek() != ')')
throw ParserException("missing ')' at end of command '"+cmd+"'");
- is.ignore(1);
+ is.get();
}
skip_comma_wsp(is);
}