Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2011-09-08
01:22 • Closed ticket [3403471fff]: expr parser wrong errorcode plus 7 other changes artifact: 96ed201117 user: dgp
2011-09-02
19:59 • New ticket [3403471fff]. artifact: f8be90cde6 user: dgp

expr parser wrong errorcode

Closed / Fixed3403471fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2011-09-02 19:59:42
% expr {{foo}bar}
invalid bareword "bar"
in expression "{foo}_@_bar";
should be "$bar" or "{bar}" or "bar(...)" or ...
% set errorCode
TCL PARSE EXPR BADNUMBER

The BADNUMBER should not be there.
No numbers in the bad expression.
dgpplain2011-09-08 01:22:18
allow_comments - 1

Bug 3401704 fix included a fix for this.
Log in (anonymous is fine) to add a comment.