2012/3/22 echo <[email protected]>

> Hi,
>
> [bug-report]:
> In org.apertium.lttoolbox.LTComp.java ( line 54)
>         *if (argc != 3 && argc != 4) {*
> I think it should be "||", but not "&&".
>

As incomprehensible as the command line parsing code is, the code is the
same as
*if (argc < 3 || argc > 4)*

which *could* be correct :-)

Feel free to make the  command line parsing code better.
I think I did some fixing a month ago, have a look in SVN.

Jacob

-- 
Jacob Nordfalk <https://plus.google.com/114820443085046080944>
http://javabog.dk
Android-udvikler og underviser på
IHK<http://cv.ihk.dk/diplomuddannelser/itd/vf/MAU>og
Lund&Bendsen <https://www.lundogbendsen.dk/undervisning/beskrivelse/LB1809/>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to