On Thu, Jun 20, 2013 at 9:40 AM, Eduardo Morras <emorr...@yahoo.es> wrote:

>         case OP_DIVIDE:       iRes = iLeft/iRight;  break;
>         case OP_MODULUS:      iRes = iLeft%iRight;  break;
>


The error message isn't the best, but it's fixed now:


> set a = [expr 231/0 ]
>

"Divide by 0: 231"


> set a = [expr 231%0 ]
>

"Modulo by 0: 231"

th1 doesn't have enough info to report the error location, so i just took
the left-hand-side as the error message, with the hope that it will at
least be marginally helpful in locating the location.

http://fossil-scm.org/index.html/info/fded1d055f

Thanks again for the report!

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to