Overview
| Artifact ID: | 8cfd59736d5b8d77765f9ac8d7814d8ed228244c |
|---|---|
| Ticket: | 542588ffffffffffffffffffffffffffffffffff
bug in expr error handler |
| User & Date: | hobbs on 2002-04-18 03:13:48 |
Changes
- icomment:
Logged In: YES user_id=72656 I believe the reason that the compiled object version fails with a different message is that it will first try and get it with GetIntFromObj, which fails. It then tries GetDoubleFromObj, which succeeds (because strtod has larger range acceptance), but then fails as doubles (floats) aren't accepted for abs. In the static case, it fails because it succeeds the LooksLikeInt, which means it is either an acceptable int or one too large to represent. Quite simple, no? In the first case, it's Tcl that sub's end and begin, not the expr parser, so you get the too large int again.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"