Skip to content
Tcl Source Code View Ticket
Login

View Ticket

octal parsing error messages changed

Closed / Fixed1381715fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 20 years ago
Descriptionplain2005-12-15 15:35:31
When I run the test make target for the cvs head tarred
at activestate.com today, I get this error:

expr-old.test

==== expr-old-36.1 ExprLooksLikeInt procedure FAILED
==== Contents of test case:

    expr 0289

---- Result was:
syntax error in expression "0289": extra tokens at end
of expression
---- Result should have been (glob matching):
*invalid octal number*
==== expr-old-36.1 FAILED

==== expr-old-37.25 Tcl_ExprDouble and NaN FAILED
==== Contents of test case:

        list [catch {testexprdouble 0.0/0.0} result]
$result
    
---- Result was:
1 {domain error: argument not in valid range}
---- Result should have been (exact matching):
1 {floating point value is Not a Number}
==== expr-old-37.25 FAILED

expr.test

==== expr-39.25 Tcl_ExprDoubleObj and NaN FAILED
==== Contents of test case:

        list [catch {testexprdoubleobj 0.0/0.0} result]
$result
    
---- Result was:
1 {domain error: argument not in valid range}
---- Result should have been (exact matching):
1 {floating point value is Not a Number}
==== expr-39.25 FAILED
dkf Ticket [1381715fff]: 2 changes [History diff]2005-12-15 22:50:17
dgp Ticket [1381715fff]: 1 change [History diff]2006-03-10 13:29:11
dasplain2006-03-21 19:21:06
Logged In: YES 
user_id=90580

in addition to these failures, I also see the following with current HEAD:

==== parseExpr-16.6 GetLexeme procedure, bad integer lexeme FAILED
==== Contents of test case:

    testexprparser {0999} -1

---- Result was:
syntax error in expression "0999": extra tokens at end of expression
---- Result should have been (glob matching):
*invalid octal number*
==== parseExpr-16.6 FAILED
dgpplain2006-03-22 01:31:04
Logged In: YES 
user_id=80530


Added knownBug constraints
so people will stop worrying
about these.

May still get to it before
8.5a4, may not.
dgpplain2006-07-05 12:36:06
Logged In: YES 
user_id=80530


the octal errors are fixed in 8.5a5.

still working on the others
dgp Closed ticket [1381715fff]. [History diff]2006-09-01 03:09:53
Log in (anonymous is fine) to add a comment.