summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/xint/xintexpr.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-07 22:15:55 +0000
committerKarl Berry <karl@freefriends.org>2018-02-07 22:15:55 +0000
commit5ff34d918d32a2683e78e0f2311bea27f731da50 (patch)
tree0c3b519785ecb1fd5f66af6b56ba306a38fdedeb /Master/texmf-dist/tex/generic/xint/xintexpr.sty
parentd1d20612383acdb3f0a5a1027ab1f5e0290d2013 (diff)
xint (7feb18)
git-svn-id: svn://tug.org/texlive/trunk@46562 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/xint/xintexpr.sty')
-rw-r--r--Master/texmf-dist/tex/generic/xint/xintexpr.sty11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/xint/xintexpr.sty b/Master/texmf-dist/tex/generic/xint/xintexpr.sty
index 610ba1449c2..7916b026cc8 100644
--- a/Master/texmf-dist/tex/generic/xint/xintexpr.sty
+++ b/Master/texmf-dist/tex/generic/xint/xintexpr.sty
@@ -21,8 +21,8 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%% ---------------------------------------------------------------
-%% The xint bundle 1.2p 2017/12/05
-%% Copyright (C) 2013-2017 by Jean-Francois Burnol
+%% The xint bundle 1.2q 2018/02/06
+%% Copyright (C) 2013-2018 by Jean-Francois Burnol
%% xintexpr: Expandable expression parser
%% ---------------------------------------------------------------
\begingroup\catcode61\catcode48\catcode32=10\relax%
@@ -81,7 +81,7 @@
\XINTsetupcatcodes%
\XINT_providespackage
\ProvidesPackage{xintexpr}%
- [2017/12/05 1.2p Expandable expression parser (JFB)]%
+ [2018/02/06 1.2q Expandable expression parser (JFB)]%
\catcode`! 11
\let\XINT_Cmp \xintiiCmp
\def\xint_gob_til_! #1!{}% ! with catcode 11
@@ -553,6 +553,7 @@
{%
\ifx \relax #2\xint_dothis\xint_firstofthree\fi
\ifcat \relax #2\xint_dothis\xint_secondofthree\fi
+ \ifnum\xint_c_ix<1\string#2 \xint_dothis\xint_secondofthree\fi
\if _#2\xint_dothis \xint_secondofthree\fi
\if @#2\xint_dothis \xint_secondofthree\fi
\if (#2\xint_dothis \xint_secondofthree\fi
@@ -2161,7 +2162,7 @@
{%
\expandafter #1\expandafter #2\csname .=%
\expandafter\XINT_expr_totwoargs
- \romannumeral0\expandafter\xintDivMod
+ \romannumeral0\expandafter\xintdivmod
\romannumeral`&&@\expandafter\XINT_expr_twoargs
\romannumeral`&&@\XINT_expr_unlock #3,\endcsname
}%
@@ -2176,7 +2177,7 @@
{%
\expandafter #1\expandafter #2\csname .=%
\expandafter\XINT_expr_totwoargs
- \romannumeral0\expandafter\xintiiDivMod
+ \romannumeral0\expandafter\xintiidivmod
\romannumeral`&&@\expandafter\XINT_expr_twoargs
\romannumeral`&&@\XINT_expr_unlock #3,\endcsname
}%