lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, 14 Jun 2007, Thomas Lauer wrote:
>
> I thought of that, but for the time being decided against. Main reason
> was that external tools can't easily distinguish between a non-zero code
> that means "lua has a problem with my script" (i.e. lua error status<>0)
> vs "my script has a problem with whatever" (i.e. my error code<>0). And
> whatever I do, I can construct cases where doing the opposite would be
> better.

Yes, this is a problem. However I was thinking it would be preferable to
make the patch extend the current behaviour (add more ways of returning
non-zero) and avoid incompatibilities (like returning zero after a
compilation error).

Tony.
-- 
f.a.n.finch  <dot@dotat.at>  http://dotat.at/
SOUTH FITZROY: SOUTHWEST VEERING WEST 5 TO 7, PERHAPS GALE 8 LATER. MODERATE
OR ROUGH, OCCASIONALLY VERY ROUGH LATER. RAIN OR SHOWERS. MODERATE OR GOOD.