summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx13
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx b/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx
index 01c880e3d50..5dcb5dd4b67 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx
@@ -22,12 +22,8 @@
%
%<*driver>
\documentclass[full]{l3doc}
-%</driver>
-%<*driver|package>
-\GetIdInfo$Id: l3deprecation.dtx 6966 2017-02-20 03:39:43Z bruno $
- {L3 Deprecation errors}
-%</driver|package>
-%<*driver>
+\def\ExplFileDate{2017/03/18}
+\def\ExplFileVersion{7019}
\begin{document}
\DocInput{\jobname.dtx}
\end{document}
@@ -138,6 +134,10 @@
% testing code even if it relies on other packages: load all other
% packages, call \cs{deprecation_error:}, and load the code that one is
% interested in testing.
+%
+% One of the deprecated syntaxes is within floating point expressions;
+% to keep related code in the same place we define in \pkg{l3fp-parse}
+% a version of \cs{__fp_parse_round:Nw} producing an error.
% \begin{macrocode}
\cs_new_protected:Npn \deprecation_error:
{
@@ -147,6 +147,7 @@
\@@_error:Nnn \c_minus_one { - 1 } { 2018-12-31 }
\@@_error:Nnn \sort_ordered: { \sort_return_same: } { 2018-12-31 }
\@@_error:Nnn \sort_reversed: { \sort_return_swapped: } { 2018-12-31 }
+ \cs_set_eq:NN \__fp_parse_round:Nw \__fp_parse_round_deprecation_error:Nw
\cs_set_eq:NN \deprecation_error: \scan_stop:
}
% \end{macrocode}