% standard macros for CWEB listings (in addition to plain.tex)
% Version 2.4 --- Don Knuth, June 1992
% Version 2.4 [p5] --- Hans-Hermann Bode, July 1992
% Version 2.7 --- Don Knuth, July 1992
% Version 2.7 [p6] --- Hans-Hermann Bode, September 1992
% Version 2.8 --- Don Knuth, September 1992
% Version 2.8 [p7] --- Andreas Scherer, October 1993
% Version 3.0 --- Don Knuth, June 1993
% Version 3.0 [p8c] --- Hans-Hermann Bode, June 1993
% Version 3.0 [p8d] --- Andreas Scherer, October 1993
\input cwebmac.tex
\xdef\fmtversion{\fmtversion+CWEB3.0[p8d]}

\def\Cpp{\CPLUSPLUS/} % for backward compatibility

\font\tenss=cmss10 \let\cmntfont\tenss % comment font

\def\C#1{\5\5\quad$\triangleright\,${\cmntfont#1}$\,\triangleleft$}
\def\SHC#1{\5\5\quad$\diamond\,${\cmntfont#1}}

\let\K=\leftarrow % "honest" alternative to standard assignment operator

\def\formatoff{\gdef\F##1\par{\setbox0=\lastbox\par}} % omits output of @f
\def\formaton{\gdef\F{\defin{format}}} % restores output of @f
 % hack: you can say @t}\par\formaton{@> at end of an @f being suppressed
