<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 4, 2014 at 9:35 AM, Akira Kakuto <span dir="ltr"><<a href="mailto:kakuto@fuk.kindai.ac.jp" target="_blank">kakuto@fuk.kindai.ac.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Luigi,<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I have to see the pre-C version of metapost --- but we could decide to<br>
accept a different behavior as well.<br>
</blockquote>
<br>
I have confirmed that mpost 0.641 exits with 0 in both cases.<br>
So it will be better to follow 0.641 in this case.<br>
<br>
Thanks,<br>
Akira<br>
<br>
--<br>
<a href="http://tug.org/metapost/" target="_blank">http://tug.org/metapost/</a><br>
</blockquote></div><br><a href="http://mp.ch">mp.ch</a> from metapost-0.62.tar.gz</div><div>( <a href="http://ftp.math.utah.edu/pub/tex/historic/systems/metapost/">http://ftp.math.utah.edu/pub/tex/historic/systems/metapost/</a> ) </div><div class="gmail_extra"><div><div><br></div><div>says</div><div><br></div><div>@x</div><div>procedure that quietly terminates the program.</div><div><br></div><div>@<Error hand...@>=</div><div>procedure jump_out;</div><div>begin goto end_of_MP;</div><div>end;</div><div>@y</div><div>procedure that quietly terminates the program.</div><div><br></div><div>Use the value of |history| to determine what exit-code to use.  We use</div><div>1 if |history <> spotless| and 0 otherwise.</div><div><br></div><div>@<Error hand...@>=</div><div>procedure jump_out;</div><div>begin</div><div>close_files_and_terminate;</div><div>ready_already:=0;</div><div>if (history <> spotless) and (history <> warning_issued) then</div><div>    uexit(1)</div><div>else</div><div>    uexit(0);</div><div>end;</div><div>@z</div></div><div><br></div><div>so, ok I will fix it in trunk.</div><div><br></div>-- <br><div>luigi<br></div>
</div></div>