mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-07 23:00:41 +00:00
(\parsetpheaderline): Don't go through \tptemp when
removing braces from #2, use the macro call directly. (\removeemptybraces): Expand to #1 instead of defining \tptemp. From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>. This makes @deftp {Data type} {struct termios} work again.
This commit is contained in:
parent
10011ce289
commit
a71d56b4cc
1 changed files with 3 additions and 4 deletions
|
@ -3792,17 +3792,16 @@ width0pt\relax} \fi
|
||||||
}
|
}
|
||||||
|
|
||||||
% Fine, but then we have to eventually remove the \empty *and* the
|
% Fine, but then we have to eventually remove the \empty *and* the
|
||||||
% braces (if any). That's what this does, putting the result in \tptemp.
|
% braces (if any). That's what this does.
|
||||||
%
|
%
|
||||||
\def\removeemptybraces\empty#1\relax{\def\tptemp{#1}}%
|
\def\removeemptybraces\empty#1\relax{#1}
|
||||||
|
|
||||||
% After \spacesplit has done its work, this is called -- #1 is the final
|
% After \spacesplit has done its work, this is called -- #1 is the final
|
||||||
% thing to call, #2 the type name (which starts with \empty), and #3
|
% thing to call, #2 the type name (which starts with \empty), and #3
|
||||||
% (which might be empty) the arguments.
|
% (which might be empty) the arguments.
|
||||||
%
|
%
|
||||||
\def\parsetpheaderline#1#2#3{%
|
\def\parsetpheaderline#1#2#3{%
|
||||||
\removeemptybraces#2\relax
|
#1{\removeemptybraces#2\relax}{#3}%
|
||||||
#1{\tptemp}{#3}%
|
|
||||||
}%
|
}%
|
||||||
|
|
||||||
\def\defopvarparsebody #1#2#3#4#5 {\begingroup\inENV %
|
\def\defopvarparsebody #1#2#3#4#5 {\begingroup\inENV %
|
||||||
|
|
Loading…
Reference in a new issue