Overview
| Comment: | * tests/expr-old.test: * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclUtil.c: * generic/tclExecute.c: added TclCheckBadOctal routine to enhance error message checking for when users use invalid octal numbers (like 08), as well as replumbed the Expr*Funcs with a new VerifyExprObjType to simplify type handling. * tests/expr.test: * generic/tclCompile.c: fixed 'bad code length' error for 'expr + {[incr]}' case, with new test case [Bug: 3736] and seg fault on 'expr + {[error]}' (different cause) that was caused by a correct optimization that didn't correctly track how it was modifying the source string in the opt. The optimization was removed, which means that: expr 1 + {[string length abc]} will be not be compiled inline as before, but this should be written: expr {1 + [string length abc]} which will be compiled inline for speed. This prevents expr 1 + {[mindless error]} from seg faulting, and only affects optimizations for degenerate cases [Bug: 3737] |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
bc2b85b9c25cb34899d95dc05eed8469 |
| User & Date: | hobbs on 1999-12-04 06:15:40.000 |
| Other Links: | manifest | tags |
Context
|
1999-12-04
| ||
| 06:16 | * library/http2.1/http.tcl: fixed error handling in http::Event [Bug: 3752] check-in: 70543f0676 user: hobbs tags: trunk | |
| 06:15 | * tests/expr-old.test: * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * gener... check-in: bc2b85b9c2 user: hobbs tags: trunk | |
| 06:15 | * doc/load.n: added note about NT's buggy handling of './' with LoadLibrary check-in: 4438057968 user: hobbs tags: trunk | |
Changes
Modified generic/tclCompile.c
from [acf947a070]
to [b216898704].
[diff]
Modified generic/tclExecute.c
from [485e5243c5]
to [c8e6a06e9e].
[diff]
Modified generic/tclGet.c
from [3aaf3029c5]
to [fcf8fec877].
[diff]
Modified generic/tclInt.h
from [b7ac5451d0]
to [b6a839346c].
[diff]
Modified generic/tclObj.c
from [f7cf50be17]
to [3c5b867120].
[diff]
Modified generic/tclParseExpr.c
from [0f5a3418e8]
to [49d0652d6c].
[diff]
Modified generic/tclUtil.c
from [4234fa5c0b]
to [b828edc7de].
[diff]