% $Id: test-mapwarn.tex 777 2017-04-20 23:08:32Z karl $
% Public domain.
% Ensure that various invalid map lines don't cause a crash.
% The last line aborts due to a (detected) buffer overflow.
 
\pdfoutput=1 \catcode`\{=1 \catcode`\}=2
\catcode`\^=7 \newlinechar=`\^^J

% all but the first should cause warnings.
\message{empty^^J}\pdfmapline{}
\message{just <^^J}\pdfmapline{<}
\message{justtfm<^^J}\pdfmapline{cmb10x1<}
\message{justtfm <^^J}\pdfmapline{cmb10x2 <}
\message{justtfm < ^^J}\pdfmapline{cmb10x3 < }
\message{notfm slant^^J}\pdfmapline{" 167 SlantFont " <foo.pfb
\message{notfm extend^^J}\pdfmapline{" 167 ExtendFont " <bar.pfb}
\pdfmapline{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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